From 1460433429d94c788264e5e71d0f21ca161b19ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Mon, 6 Jan 2020 08:22:37 +0100 Subject: [PATCH] it should be safe to do that --- git_vuln_finder/vulnerability.py | 1 - 1 file changed, 1 deletion(-) diff --git a/git_vuln_finder/vulnerability.py b/git_vuln_finder/vulnerability.py index d460d50..d1df6d0 100644 --- a/git_vuln_finder/vulnerability.py +++ b/git_vuln_finder/vulnerability.py @@ -94,7 +94,6 @@ def summary( ] if cve: potential_vulnerabilities[rcommit.hexsha]["cve"] = cve - if cve: potential_vulnerabilities[rcommit.hexsha]["state"] = "cve-assigned" else: potential_vulnerabilities[rcommit.hexsha]["state"] = commit_state