[Secure-testing-commits] r44020 - bin
Chris Lamb
lamby at moszumanska.debian.org
Wed Aug 17 20:20:16 UTC 2016
Author: lamby
Date: 2016-08-17 20:20:16 +0000 (Wed, 17 Aug 2016)
New Revision: 44020
Modified:
bin/lts-cve-triage.py
Log:
bin/lts-cve-triage: Print direct urls to each package to save needless page-searching the main tracker page.
Modified: bin/lts-cve-triage.py
===================================================================
--- bin/lts-cve-triage.py 2016-08-17 19:42:07 UTC (rev 44019)
+++ bin/lts-cve-triage.py 2016-08-17 20:20:16 UTC (rev 44020)
@@ -129,10 +129,12 @@
continue
print('\n{}:'.format(colored(desc, attrs=('bold',))))
for pkg in sorted(lists[key].keys()):
- cve_list = ' '.join(
- [i.name for i in sorted(lists[key][pkg], key=lambda i: i.name)])
- print('\n* {:20s}\n {}'.format(
+ print('\n* {:20s}'.format(
colored(pkg, 'red', attrs=('bold', 'underline')),
- cve_list,
))
+ for x in sorted(lists[key][pkg], key=lambda x: x.name):
+ url = 'https://security-tracker.debian.org/tracker/{}'. \
+ format(x.name)
+ print(' - {} {}'.format(x.name, colored(url, 'white')))
+
print('')
More information about the Secure-testing-commits
mailing list