summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-07-17 00:01:01 +0000
committerHolger Levsen <holger@layer-acht.org>2015-07-17 10:32:11 +0200
commit2b8a459b2d5a1f953cd77217ffe8c03adb037248 (patch)
tree52c0f776fe3cfaf5568140fdc0861621ee419dba /bin
parentf6395b3c06146889e3c5dd8b7cd026fa0d85729a (diff)
downloadjenkins.debian.net-2b8a459b2d5a1f953cd77217ffe8c03adb037248.tar.xz
reproducible: rescheduler: don't catch blacklisted packages in the filter query
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_remote_scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index f18f9110..0d202191 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -110,7 +110,7 @@ if issue or status or built_after or built_before:
query = 'SELECT s.name ' + \
'FROM sources AS s, notes AS n, results AS r ' + \
'WHERE n.package_id=s.id AND r.package_id=s.id ' + \
- 'AND s.suite = "{suite}" '
+ 'AND s.suite = "{suite}" AND r.status != "blacklisted" '
if issue:
query += 'AND n.issues LIKE "%{issue}%" '
formatter['issue'] = issue