diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-08-12 08:52:37 +0000 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-08-12 08:52:37 +0000 |
commit | ba11b25e4a0053c22beab536c2df0aee2cc6137c (patch) | |
tree | 24c4cc3ff90e47c3dd86228d30ce52da51996d00 /bin/lts-cve-triage.py | |
parent | f146a5e44be7959d31e08162b81c7aa7b2deb669 (diff) |
Delay tracker data fetch
This allows us to do things like "--help" without waiting
for the tracker data download.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@35998 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/lts-cve-triage.py')
-rwxr-xr-x | bin/lts-cve-triage.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py index 4ee3b57685..8c528b8f19 100755 --- a/bin/lts-cve-triage.py +++ b/bin/lts-cve-triage.py @@ -20,7 +20,6 @@ import collections from tracker_data import TrackerData, RELEASES -tracker = TrackerData(update_cache=True) next_lts = RELEASES['next_lts'] LIST_NAMES = ( @@ -45,7 +44,7 @@ parser = argparse.ArgumentParser( 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] |