Skip to content

Commit

Permalink
Fixed package_intents serialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Worrell committed Mar 3, 2015
1 parent 7e3725f commit 90058a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stix/core/stix_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def to_obj(self, return_obj=None, ns_info=None):
if self.title:
return_obj.Title = self.title
if self.package_intents:
return_obj.Package_Intent = PackageIntents.to_obj(ns_info=ns_info)
return_obj.Package_Intent = self.package_intents.to_obj(ns_info=ns_info)
if self.description:
return_obj.Description = self.description.to_obj(ns_info=ns_info)
if self.short_description:
Expand Down

0 comments on commit 90058a7

Please sign in to comment.