Author: gilbert-guest Date: 2011-02-21 04:10:21 +0000 (Mon, 21 Feb 2011) New Revision: 16216 Modified: lib/python/security_db.py Log: exclude etch from valid package releases Modified: lib/python/security_db.py ==================================================================--- lib/python/security_db.py 2011-02-21 04:10:00 UTC (rev 16215) +++ lib/python/security_db.py 2011-02-21 04:10:21 UTC (rev 16216) @@ -1579,6 +1579,7 @@ """SELECT string_list(release) AS releases, version FROM (SELECT release, version FROM source_packages WHERE name = ? + AND release IN (''lenny'', ''squeeze'', ''wheezy'', ''sid'', ''experimental'') ORDER BY release_to_number(release)) GROUP BY version""", (pkg,)): yield releases.split('', ''), version @@ -1633,6 +1634,7 @@ p.version AS version, s.vulnerable AS vulnerable FROM source_package_status AS s, source_packages AS p WHERE s.bug_name = ? AND p.rowid = s.package + AND release in (''lenny'', ''squeeze'', ''wheezy'', ''sid'', ''experimental'') ORDER BY release_to_number(p.release), p.subrelease) GROUP BY package, version, vulnerable ORDER BY package, version COLLATE version""",