Skip to content

Commit baa153d

Browse files
TG1999keshav-space
andauthored
Update vulnerabilities/pipelines/v2_improvers/compute_advisory_todo.py
Co-authored-by: Keshav Priyadarshi <git@keshav.space>
1 parent 2c7057d commit baa153d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vulnerabilities/pipelines/v2_improvers/compute_advisory_todo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ def check_conflicting_affected_and_fixed_by_packages_for_alias(
258258
if fixed_version_range := impacted.fixed_vers:
259259
matrix[affected_purl]["fixed"][advisory_id].add(fixed_version_range)
260260

261-
if impacted.affecting_vers:
262-
matrix[affected_purl]["affected"][advisory_id].add(str(impacted.affecting_vers))
261+
if affecting_version_range := impacted.affecting_vers:
262+
matrix[affected_purl]["affected"][advisory_id].add(affecting_version_range)
263263

264264
has_conflicting_affected_packages = False
265265
has_conflicting_fixed_package = False

0 commit comments

Comments
 (0)