Skip to content

Commit 8d614e9

Browse files
committed
Address review comments
Signed-off-by: Tushar Goel <[email protected]>
1 parent ed7e2ae commit 8d614e9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

vulnerabilities/importers/apache_kafka.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ def to_advisory(self, advisory_page):
143143
if not cve_version_mapping:
144144
logger.error(f"Data for {cve_id} not found in mapping. Skipping.")
145145
if cve_version_mapping and cve_version_mapping.get("action") == "include":
146-
# These 2 variables (not used elsewhere) trigger the KeyError for changed/missing data.
147146
check_affected_versions_key = cve_version_mapping.get(affected_versions) or []
148147
check_fixed_versions_key = cve_version_mapping.get(fixed_versions) or []
149148

0 commit comments

Comments
 (0)