Skip to content

Commit

Permalink
Removed superfulous debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ibazulic committed Jun 4, 2024
1 parent d6e2254 commit d8a1643
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions data/secscan_model/secscan_v4_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ def should_skip_indexing(manifest_candidate):
if self.app.config.get("NOTIFICATION_MIN_SEVERITY_ON_NEW_INDEX")
else "High"
)
logger.debug("Minimal level set: %s", level)
lowest_severity = PRIORITY_LEVELS[level]

if found_vulnerabilities is not None:
Expand All @@ -480,10 +479,6 @@ def should_skip_indexing(manifest_candidate):
)

if found_severity["score"] >= lowest_severity["score"]:
logger.debug(
"Found severity score of %s for vulnerability.",
found_severity["score"],
)
tag_names = list(
registry_model.tag_names_for_manifest(manifest, TAG_LIMIT)
)
Expand Down

0 comments on commit d8a1643

Please sign in to comment.