Skip to content

Commit 87f4dd6

Browse files
committed
Fixed logic bug in object w/idref deduplication
1 parent 60cc7a6 commit 87f4dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maec/utils/deduplicator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def handle_duplicate_objects(cls, bundle, all_objects):
7777
object.properties = None
7878
object.related_objects = None
7979
object.domain_specific_object_properties = None
80-
elif duplicate_object_id and duplicate_object_id in cls.idref_objects:
80+
if duplicate_object_id and duplicate_object_id in cls.idref_objects:
8181
for object in cls.idref_objects[duplicate_object_id]:
8282
object.idref = unique_object_id
8383

0 commit comments

Comments
 (0)