diff options
author | Mike Gabriel <sunweaver@debian.org> | 2016-01-14 21:01:58 +0000 |
---|---|---|
committer | Mike Gabriel <sunweaver@debian.org> | 2016-01-14 21:01:58 +0000 |
commit | b743c009fc4f0de46fd9d9d9accfbcf79913082c (patch) | |
tree | 2a17a2026137716c0708e963f70334f02cb7aef5 /bin/lts-cve-triage.py | |
parent | f349408ada91e26bcc10667c03b8ec141645ceee (diff) |
bin/ltsp-cve-triage.py: Add cmdline option --skip-cache-update (easing my pain on low bandwidth uplinks when running this script more than once in a row).
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@38918 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin/lts-cve-triage.py')
-rwxr-xr-x | bin/lts-cve-triage.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py index cf45e3d540..43d726f407 100755 --- a/bin/lts-cve-triage.py +++ b/bin/lts-cve-triage.py @@ -50,10 +50,12 @@ parser = argparse.ArgumentParser( description='Find CVEs to triage') parser.add_argument('--skip-dla-needed', action='store_true', help='Skip packages already in dla-needed.txt') +parser.add_argument('--skip-cache-update', action='store_true', + help='Skip updating the tracker data cache') parser.add_argument('--filter', nargs='+', choices=[x[0] for x in LIST_NAMES], help='Only report on specified lists') args = parser.parse_args() -tracker = TrackerData(update_cache=True) +tracker = TrackerData(update_cache=not args.skip_cache_update) def add_to_list(key, pkg, issue): assert key in [l[0] for l in LIST_NAMES] |