summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2015-01-17 22:39:14 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2015-01-17 22:39:14 +0000
commit2ed1a88f9b3fa12d66fb9039db6492c15e33de59 (patch)
tree18d677264cccc2cf756723c57ac21404a345d37d /lib
parentd4e1e665f17a2ec2ee39a66e4c737ad59293087b (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.py1
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"""):

© 2014-2024 Faster IT GmbH | imprint | privacy policy