diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2015-01-17 22:39:14 +0000 |
---|---|---|
committer | Florian Weimer <fw@deneb.enyo.de> | 2015-01-17 22:39:14 +0000 |
commit | 2ed1a88f9b3fa12d66fb9039db6492c15e33de59 (patch) | |
tree | 18d677264cccc2cf756723c57ac21404a345d37d /lib | |
parent | d4e1e665f17a2ec2ee39a66e4c737ad59293087b (diff) |
security_db.DB.getUnknownPackages(): Filter out [experimental]
We currently do not load package lists from the experimental source,
so we cannot perform the typo check there.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@31461 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/security_db.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py index 934e33a509..643bddcaa9 100644 --- a/lib/python/security_db.py +++ b/lib/python/security_db.py @@ -1809,6 +1809,7 @@ class DB: for (package, bug_name) in cursor.execute( """SELECT DISTINCT package, bug_name FROM package_notes WHERE package_kind = 'unknown' + AND COALESCE (release, '') <> 'experimental' AND NOT EXISTS (SELECT * FROM removed_packages WHERE name = package) ORDER BY package, bug_name"""): |