summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2019-12-03 13:49:07 +0100
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-02-26 12:31:30 +0100
commit02357bdb0344913c35d3f1f55e6654183c0d4b73 (patch)
tree529370020ec16c35aec1214c4d2e40a72df14c1c /bin
parentc8c344738e5067611d58c842e6d496f4c947f2ac (diff)
Call TrackerData's Issue::get_status() with release codenames
Diffstat (limited to 'bin')
-rwxr-xr-xbin/lts-cve-triage.py4
-rwxr-xr-xbin/lts-needs-forward-port.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py
index 39b8b7f0a3..2191475a6b 100755
--- a/bin/lts-cve-triage.py
+++ b/bin/lts-cve-triage.py
@@ -113,8 +113,8 @@ for pkg in tracker.iterate_packages():
continue
for issue in tracker.iterate_pkg_issues(pkg):
- status_in_lts = issue.get_status('lts')
- status_in_next_lts = issue.get_status('next_lts')
+ status_in_lts = issue.get_status([RELEASES['lts'])
+ status_in_next_lts = issue.get_status(RELEASES['next_lts'])
if status_in_lts.status in ('not-affected', 'resolved'):
continue
diff --git a/bin/lts-needs-forward-port.py b/bin/lts-needs-forward-port.py
index 62f8cc8936..7a4d24c1d4 100755
--- a/bin/lts-needs-forward-port.py
+++ b/bin/lts-needs-forward-port.py
@@ -67,8 +67,8 @@ def main():
for pkg in tracker.iterate_packages():
for issue in tracker.iterate_pkg_issues(pkg):
- status_in_lts = issue.get_status('lts')
- status_in_next_lts = issue.get_status('next_lts')
+ status_in_lts = issue.get_status(lts)
+ status_in_next_lts = issue.get_status(next_lts)
if status_in_lts.status in ('not-affected', 'open'):
continue

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