From 729085c980a66763c466e1a2d9a4648b649cbf49 Mon Sep 17 00:00:00 2001 From: Christian Studer Date: Mon, 5 Feb 2024 11:31:38 +0100 Subject: [PATCH] fix: [stix2 import] Yield syntax --- misp_stix_converter/stix2misp/stix2_to_misp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_stix_converter/stix2misp/stix2_to_misp.py b/misp_stix_converter/stix2misp/stix2_to_misp.py index c8a33f23..6eb3be0d 100644 --- a/misp_stix_converter/stix2misp/stix2_to_misp.py +++ b/misp_stix_converter/stix2misp/stix2_to_misp.py @@ -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 = {