[Secure-testing-commits] r15865 - bin

Florian Weimer
Fri, 14 Jan 2011 22:35:48 -0000

Author: fw
Date: 2011-01-14 22:35:48 +0000 (Fri, 14 Jan 2011)
New Revision: 15865

Modified:
   bin/tracker_service.py
Log:
bin/tracker_service: do not include oldstable in PTS export


Modified: bin/tracker_service.py
==================================================================---
bin/tracker_service.py	2011-01-14 22:07:07 UTC (rev 15864)
+++ bin/tracker_service.py	2011-01-14 22:35:48 UTC (rev 15865)
@@ -1115,7 +1115,6 @@
         for pkg, bugs in self.db.cursor().execute(
                 """SELECT package, COUNT(DISTINCT bug) FROM
                 (SELECT package, bug, urgency FROM stable_status
-                 UNION ALL SELECT package, bug, urgency FROM oldstable_status
                  UNION ALL SELECT DISTINCT sp.name, st.bug_name, st.urgency
                    FROM source_package_status AS st, source_packages AS sp
                    WHERE st.vulnerable AND st.urgency <>
''unimportant''