[Secure-testing-commits] r28739 - bin lib/python

Holger Levsen holger at moszumanska.debian.org
Fri Sep 12 13:58:48 UTC 2014


Author: holger
Date: 2014-09-12 13:58:48 +0000 (Fri, 12 Sep 2014)
New Revision: 28739

Modified:
   bin/tracker_service.py
   lib/python/bugs.py
   lib/python/security_db.py
Log:
misc small cleanups

Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py	2014-09-12 09:31:37 UTC (rev 28738)
+++ bin/tracker_service.py	2014-09-12 13:58:48 UTC (rev 28739)
@@ -624,7 +624,7 @@
              H2('Security announcements'),
              make_table(gen_bug_list(self.db.getDSAsForSourcePackage
                                      (self.db.cursor(), pkg)),
-                        caption=('DSA', 'Description'),
+                        caption=('DSA / DLA', 'Description'),
                         replacement='No known security announcements.')
              ])
 

Modified: lib/python/bugs.py
===================================================================
--- lib/python/bugs.py	2014-09-12 09:31:37 UTC (rev 28738)
+++ lib/python/bugs.py	2014-09-12 13:58:48 UTC (rev 28739)
@@ -886,8 +886,6 @@
         return ("%s-%02d-%02d" % (year, month, int(day)), name, desc)
 
     def finishBug(self, bug):
-        # Convert all package notes to notes for etch (testing).
-        testing = debian_support.internRelease("etch")
         for n in bug.notes:
             if n.release is None:
                 self.raiseSyntaxError(

Modified: lib/python/security_db.py
===================================================================
--- lib/python/security_db.py	2014-09-12 09:31:37 UTC (rev 28738)
+++ lib/python/security_db.py	2014-09-12 13:58:48 UTC (rev 28739)
@@ -424,7 +424,7 @@
                 return 999
         self.db.createscalarfunction("urgency_to_number", urgency_to_number, 1)
 
-        releases = ['potato', 'woody', 'sarge', 'etch', 'lenny', 'squeeze', 'wheezy', 'sid']
+        releases = ['potato', 'woody', 'sarge', 'etch', 'lenny', 'squeeze', 'wheezy', 'jessie', 'sid']
         def release_to_number(u):
             try:
                 return releases.index(u)




More information about the Secure-testing-commits mailing list