[Secure-testing-commits] r35998 - bin

Guido Guenther agx at moszumanska.debian.org
Wed Aug 12 08:52:38 UTC 2015


Author: agx
Date: 2015-08-12 08:52:37 +0000 (Wed, 12 Aug 2015)
New Revision: 35998

Modified:
   bin/lts-cve-triage.py
Log:
Delay tracker data fetch

This allows us to do things like "--help" without waiting
for the tracker data download.

Modified: bin/lts-cve-triage.py
===================================================================
--- bin/lts-cve-triage.py	2015-08-12 08:52:34 UTC (rev 35997)
+++ bin/lts-cve-triage.py	2015-08-12 08:52:37 UTC (rev 35998)
@@ -20,7 +20,6 @@
 
 from tracker_data import TrackerData, RELEASES
 
-tracker = TrackerData(update_cache=True)
 next_lts = RELEASES['next_lts']
 
 LIST_NAMES = (
@@ -45,8 +44,8 @@
 parser.add_argument('--skip-dla-needed', action='store_true',
                     help='Skip packages already in dla-needed.txt')
 args = parser.parse_args()
+tracker = TrackerData(update_cache=True)
 
-
 def add_to_list(key, pkg, issue):
     assert key in [l[0] for l in LIST_NAMES]
     lists[key][pkg].append(issue)




More information about the Secure-testing-commits mailing list