Skip to content

Commit

Permalink
Fixed namespace issue with RelatedPackages
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Worrell committed Mar 2, 2015
1 parent ffb3425 commit bb8c98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stix/bindings/stix_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def export(self, lwrite, level, nsmap, namespace_=XML_NS, name_='RelatedPackageT
def exportAttributes(self, lwrite, level, already_processed, namespace_='stix:', name_='RelatedPackageType'):
super(RelatedPackageType, self).exportAttributes(lwrite, level, already_processed, namespace_, name_='RelatedPackageType')
def exportChildren(self, lwrite, level, nsmap, namespace_=XML_NS, name_='RelatedPackageType', fromsubclass_=False, pretty_print=True):
super(RelatedPackageType, self).exportChildren(lwrite, level, nsmap, namespace_, name_, True, pretty_print=pretty_print)
super(RelatedPackageType, self).exportChildren(lwrite, level, nsmap, stix_common_binding.XML_NS, name_, True, pretty_print=pretty_print)
if pretty_print:
eol_ = '\n'
else:
Expand Down

0 comments on commit bb8c98b

Please sign in to comment.