[Secure-testing-commits] r33568 - bin

Holger Levsen holger at moszumanska.debian.org
Tue Apr 14 08:21:01 UTC 2015


Author: holger
Date: 2015-04-14 08:21:01 +0000 (Tue, 14 Apr 2015)
New Revision: 33568

Modified:
   bin/tracker_service.py
Log:
#761859: also show state 'undetermined'

Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py	2015-04-14 07:29:15 UTC (rev 33567)
+++ bin/tracker_service.py	2015-04-14 08:21:01 UTC (rev 33568)
@@ -1350,12 +1350,14 @@
                                 # keep looking for a real winner...
                                 winner=suffix
                     repository=release+winner
-                    if status[pkg][issue][repository] != 0:
+                    if status[pkg][issue][repository] == 0:
                         # 1 = vulnerable, 2 = undetermined
-                        state = "open"
-                    else:
                         state = "resolved"
                         suite_fixed_version = fixed_version[pkg][issue][repository]
+                    elif status[pkg][issue][repository] == 2:
+                        state = "undetermined"
+                    else:
+                        state = "open"
                     suite_urgency = urgency[pkg][issue][repository]
                     if nodsa[pkg][issue].has_key(repository):
                         suite_nodsa = nodsa[pkg][issue][repository]




More information about the Secure-testing-commits mailing list