Skip to content

Commit

Permalink
fixed issue where Time element wasn't being exported properly in Inci…
Browse files Browse the repository at this point in the history
…dentType
  • Loading branch information
Bryan Worrell committed Jun 7, 2013
1 parent 207b68a commit 2f54d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stix/bindings/incident.py
Original file line number Diff line number Diff line change
Expand Up @@ -3376,7 +3376,7 @@ def exportChildren(self, outfile, level, nsmap, namespace_=XML_NS, name_='Incide
showIndent(outfile, level, pretty_print)
outfile.write('<%s:Title>%s</%s:Title>%s' % (nsmap[namespace_], self.gds_format_string(quote_xml(self.Title).encode(ExternalEncoding), input_name='Title'), nsmap[namespace_], eol_))
if self.Time is not None:
self.Time.export(outfile, level, nsmap, namespace_, name_='Time', pretty_print=pretty_print)
self.Time.export(outfile, level, "%s:" % (nsmap[namespace_]), name_='Time', pretty_print=pretty_print)
if self.Description is not None:
self.Description.export(outfile, level, nsmap, namespace_, name_='Description', pretty_print=pretty_print)
if self.Categories is not None:
Expand Down

0 comments on commit 2f54d3d

Please sign in to comment.