diff options
author | Sylvain Beucler <beuc@beuc.net> | 2022-04-14 16:18:11 +0200 |
---|---|---|
committer | Sylvain Beucler <beuc@beuc.net> | 2022-04-14 16:18:11 +0200 |
commit | 3c0dc3c9acf074bb867353b093ebded3fa94c9cc (patch) | |
tree | 2ab1fef5820eee554e79523b6b8a8bb8792978b0 | |
parent | 14d3df2f32fabb58a1678acf6997b780a8a895fd (diff) |
lts-cve-triage: minor code clarification
-rwxr-xr-x | bin/lts-cve-triage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/lts-cve-triage.py b/bin/lts-cve-triage.py index 8da8984b1d..bda1606819 100755 --- a/bin/lts-cve-triage.py +++ b/bin/lts-cve-triage.py @@ -118,7 +118,7 @@ for pkg in tracker.iterate_packages(): if status_in_lts.status in ('not-affected', 'resolved'): continue - if status_in_lts.status == 'open': + elif status_in_lts.status == 'open': if re.fullmatch(unsupported_re, pkg): add_to_list('triage_end_of_life', pkg, issue) continue @@ -154,7 +154,7 @@ for pkg in tracker.iterate_packages(): if status_in_next_lts.status == 'resolved': add_to_list('possible_easy_fixes', pkg, issue) - if status_in_lts.status == 'ignored': + elif status_in_lts.status == 'ignored': if (status_in_lts.reason == 'no-dsa' and status_in_next_lts.status == 'open'): add_to_list('unexpected_nodsa', pkg, issue) |