summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRaphael Geissert <geissert@debian.org>2010-06-27 04:03:20 +0000
committerRaphael Geissert <geissert@debian.org>2010-06-27 04:03:20 +0000
commit8869611ec65eff79fe6eacb239d44d2ef78fae3c (patch)
tree5fe86d3e30c22d2835d47770545499881c137204 /bin
parent188e37f62191fa09e651c321a506bfd82bb0e476 (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.py8
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(':')

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