Skip to content

Commit

Permalink
Merge pull request ukhas#2 from adamgreig/master
Browse files Browse the repository at this point in the history
add large string_limit field to generated XML
  • Loading branch information
danielrichman committed May 5, 2012
2 parents 5100893 + 4239ea1 commit 3102e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions habitat_transition/couch_to_xml.py
Expand Up @@ -158,6 +158,8 @@ def _add_sentence(self):
f_delimiter.text = ","
callsign = ET.SubElement(self.sentence, 'callsign')
callsign.text = str(self.callsign)
string_limit = ET.SubElement(self.sentence, 'string_limit')
string_limit.text = "999"
fields = ET.SubElement(self.sentence, 'fields')
fields.text = str(len(self.payload["sentence"]["fields"]) + 1)

Expand Down

0 comments on commit 3102e08

Please sign in to comment.