Skip to content

Commit

Permalink
chore: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Jan 3, 2025
1 parent 747e965 commit c2bc28b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit c2bc28b

Please sign in to comment.