diff options
author | Raphael Geissert <geissert@debian.org> | 2010-06-27 04:03:20 +0000 |
---|---|---|
committer | Raphael Geissert <geissert@debian.org> | 2010-06-27 04:03:20 +0000 |
commit | 8869611ec65eff79fe6eacb239d44d2ef78fae3c (patch) | |
tree | 5fe86d3e30c22d2835d47770545499881c137204 /bin | |
parent | 188e37f62191fa09e651c321a506bfd82bb0e476 (diff) |
Don't count unimportant issues on data fed to the PTS
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@14909 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'bin')
-rw-r--r-- | bin/tracker_service.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/tracker_service.py b/bin/tracker_service.py index 8b905bbfc6..3df5a6963a 100644 --- a/bin/tracker_service.py +++ b/bin/tracker_service.py @@ -1114,13 +1114,13 @@ Debian bug number.'''), data = [] for pkg, bugs in self.db.cursor().execute( """SELECT package, COUNT(DISTINCT bug) FROM - (SELECT package, bug FROM stable_status - UNION ALL SELECT package, bug FROM oldstable_status - UNION ALL SELECT DISTINCT sp.name, st.bug_name + (SELECT package, bug, urgency FROM stable_status + UNION ALL SELECT package, bug, urgency FROM oldstable_status + UNION ALL SELECT DISTINCT sp.name, st.bug_name, st.urgency FROM source_package_status AS st, source_packages AS sp WHERE st.vulnerable AND st.urgency <> 'unimportant' AND sp.rowid = st.package AND sp.release = 'sid' - AND sp.subrelease = '') x + AND sp.subrelease = '') x WHERE urgency <> 'unimportant' GROUP BY package ORDER BY package"""): data.append(pkg) data.append(':') |