diff options
author | Florian Weimer <fw@deneb.enyo.de> | 2006-12-10 17:44:41 +0000 |
---|---|---|
committer | Florian Weimer <fw@deneb.enyo.de> | 2006-12-10 17:44:41 +0000 |
commit | f0925f624e1043116793722483ac03010ec3569b (patch) | |
tree | 5ea64431da8c7e4b0b9b7d8c1c550f71c046881f /lib | |
parent | cc929d22674daeb08bb16deb67b3072fdd9486c3 (diff) |
lib/python/security_db.py (DB.getBugsForBinaryPackage,
DB.getBugsForSourcePackage):
Ignore bugs in woody.
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5101 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/security_db.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py index 1cf941c4da..532a65f487 100644 --- a/lib/python/security_db.py +++ b/lib/python/security_db.py @@ -1775,7 +1775,9 @@ class DB: AND st2.package = sp2.rowid AND st2.bug_name = st.bug_name ORDER BY st2.vulnerable DESC), 1)) AS vulnerable FROM source_packages AS sp, source_package_status AS st, bugs - WHERE sp.name = ? AND sp.subrelease <> 'security' + WHERE sp.name = ? + AND sp.release <> 'woody' + AND sp.subrelease <> 'security' AND st.package = sp.rowid AND bugs.name = st.bug_name AND st.urgency <> 'unimportant' @@ -1791,7 +1793,9 @@ class DB: FROM (SELECT bugs.name AS name, bugs.description AS description, MAX(st.vulnerable) AS vulnerable FROM binary_packages AS bp, binary_package_status AS st, bugs - WHERE bp.name = ? AND st.package = bp.rowid + WHERE bp.name = ? + AND bp.release <> 'woody' + AND st.package = bp.rowid AND st.urgency <> 'unimportant' AND bugs.name = st.bug_name GROUP BY bugs.name, bugs.description) |