[Secure-testing-commits] r3135 - lib/python

Florian Weimer fw at costa.debian.org
Fri Dec 23 19:32:01 UTC 2005


Author: fw
Date: 2005-12-23 19:31:59 +0000 (Fri, 23 Dec 2005)
New Revision: 3135

Modified:
   lib/python/security_db.py
Log:
lib/python/security_db.py (DB.calculateDebsecan1):
  Non-unstable versions needs ">=", too.


Modified: lib/python/security_db.py
===================================================================
--- lib/python/security_db.py	2005-12-23 17:02:18 UTC (rev 3134)
+++ lib/python/security_db.py	2005-12-23 19:31:59 UTC (rev 3135)
@@ -1459,14 +1459,14 @@
                                               (package, release)):
                             if v is None:
                                 continue
-                            if debian_support.Version(v) > v_ref:
+                            if debian_support.Version(v) >= v_ref:
                                 other_versions[v] = True
 
                         for (v,) in c.execute("""SELECT version
                         FROM source_packages WHERE name = ?
                         AND release = ? AND subrelease IN ('', 'security')""",
                                               (package, release)):
-                            if debian_support.Version(v) > v_ref:
+                            if debian_support.Version(v) >= v_ref:
                                 other_versions[v] = True
 
                 if not total_urgency:




More information about the Secure-testing-commits mailing list