diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2023-03-20 14:58:00 +0100 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2023-03-27 10:25:24 +0200 |
commit | c60cc24e47ae0c9532fa59676acabf8fbcba398f (patch) | |
tree | ea11f88048b8ab08086cd735a908be795350bd0d /bin/update-vuln | |
parent | 69712f5a48bfcb26510dcc281021d1b054a79802 (diff) |
sectracker.parsers: make cvelist et al return a list of Bugs
Diffstat (limited to 'bin/update-vuln')
-rwxr-xr-x | bin/update-vuln | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update-vuln b/bin/update-vuln index 660d61b9d3..040bc6d47a 100755 --- a/bin/update-vuln +++ b/bin/update-vuln @@ -81,7 +81,7 @@ class ParseUpdates: def _read_cvelist(self): """Build a list of Bug items for the CVE from data/CVE/list""" os.chdir(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))) - data, _ = cvelist("data/CVE/list") # pylint: disable=no-value-for-parameter + data = cvelist("data/CVE/list") for cve in self.cves: for bug in data: if bug.header.name == cve: |