diff --git a/backend/core/models.py b/backend/core/models.py index f25ddc8e8..870c312ac 100644 --- a/backend/core/models.py +++ b/backend/core/models.py @@ -368,7 +368,6 @@ def __init__(self, old_library: Type["LoadedLibrary"], new_library: StoredLibrar self.new_matrices = new_library_content.get("risk_matrix") self.threats = new_library_content.get("threats", []) self.reference_controls = new_library_content.get("reference_controls", []) - # Is self.new_objects even used ? self.new_objects = {obj["urn"].lower(): obj for obj in self.threats} self.new_objects.update( {obj["urn"].lower(): obj for obj in self.reference_controls}