Skip to content

Commit

Permalink
fix: [stix2 import] Yield syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisr3d committed Feb 16, 2024
1 parent e3578ff commit 729085c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misp_stix_converter/stix2misp/stix2_to_misp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ def _parse_markings(self, marking_refs: list):
except ObjectRefLoadingError as error:
self._object_ref_loading_error(error)
continue
yield(marking_definition)
yield marking_definition

def _parse_timeline(self, stix_object: _SDO_TYPING) -> dict:
misp_object = {
Expand Down

0 comments on commit 729085c

Please sign in to comment.