summaryrefslogtreecommitdiffstats
path: root/bin/lts-cve-triage.py
diff options
context:
space:
mode:
authorMike Gabriel <sunweaver@debian.org>2016-01-14 21:01:58 +0000
committerMike Gabriel <sunweaver@debian.org>2016-01-14 21:01:58 +0000
commitb743c009fc4f0de46fd9d9d9accfbcf79913082c (patch)
tree2a17a2026137716c0708e963f70334f02cb7aef5 /bin/lts-cve-triage.py
parentf349408ada91e26bcc10667c03b8ec141645ceee (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-xbin/lts-cve-triage.py4
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]

© 2014-2024 Faster IT GmbH | imprint | privacy policy