1 |
commit: 062dfa1f3bd86a7e8c898eac0ef948a425410986 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 4 04:04:56 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 4 04:04:56 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/security.git/commit/?id=062dfa1f |
7 |
|
8 |
cvetool: info: show internal CVE id in addition |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
bin/cvetool | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/bin/cvetool b/bin/cvetool |
16 |
index f60248b..28b8901 100755 |
17 |
--- a/bin/cvetool |
18 |
+++ b/bin/cvetool |
19 |
@@ -83,7 +83,7 @@ class CVETool: |
20 |
print('{} not found in Gentoo\'s CVE database!'.format(cve)) |
21 |
sys.exit(0) |
22 |
|
23 |
- print(' CVE ID: ' + data['cve_id']) |
24 |
+ print(' CVE ID: ' + data['cve_id'] + ' (#' + str(data['id']) + ')') |
25 |
print(' Summary: ' + data['summary']) |
26 |
print(' Published: ' + (data['published_at'] if data['published_at'] is not None else "Not yet published")) |
27 |
print('-' * 80) |