Skip to content

Commit

Permalink
Merge pull request #91 from jtschichold/fix-maec-actioncollectionslis…
Browse files Browse the repository at this point in the history
…t-to_obj

Fix for duplicated action collections
  • Loading branch information
ikiril01 committed Sep 25, 2017
2 parents 3abb334 + 8a6e023 commit 1f0d8b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maec/bundle/bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ def __init__(self):

def to_obj(self, ns_info=None):
action_collection_list_obj = super(ActionCollectionList, self).to_obj()
action_collection_list_obj.set_Action_Collection([])

for action_collection in self:
if len(action_collection.action_list) > 0:
Expand Down

0 comments on commit 1f0d8b8

Please sign in to comment.