summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Finney <seanius@debian.org>2008-09-05 00:01:33 +0200
committerSean Finney <seanius@debian.org>2008-09-05 00:01:33 +0200
commit26a4f31bc27b021dbb332c536e7d14c65fdf54c0 (patch)
treee428d6270e3068a1a2947778db08bc022ec64cbe
parent73307e04f3a0a67f27e38682830dd832a485792a (diff)
downloadpatch-tracker-26a4f31bc27b021dbb332c536e7d14c65fdf54c0.tar.gz
remove unneeded where condition
-rw-r--r--patchtracker/DB.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/patchtracker/DB.py b/patchtracker/DB.py
index 0794903..968b975 100644
--- a/patchtracker/DB.py
+++ b/patchtracker/DB.py
@@ -82,8 +82,7 @@ class PatchTrackerDB:
WHERE mm.package_id = p.id \
AND mm.maintainer_id = m.id) AS emails \
FROM packages AS p, package_rel_map AS pm, suites AS s \
- WHERE pm.package_id = p.id AND pm.suite_id = s.id \
- AND emails IS NOT NULL"
+ WHERE pm.package_id = p.id AND pm.suite_id = s.id"
qargs = ()
if package: