summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2017-04-26 10:34:37 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-26 10:48:49 +0200
commit17e5f8e2cecd67b95b09d8d8eb641c0c141fc037 (patch)
treeaf8bc5819322a8596a7ddcbbe0a4a8c9e85d06da /bin
parente674362484d8fdb81940f0284e021d2ceb4dc3ca (diff)
downloadjenkins.debian.net-17e5f8e2cecd67b95b09d8d8eb641c0c141fc037.tar.xz
reproducible debian: remote scheduler: unbreak -i option
relevant stackoverflow question: https://stackoverflow.com/questions/8657508/strange-sqlalchemy-error-message-typeerror-dict-object-does-not-support-inde Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
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 cd1eaad6..ff14806c 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -122,7 +122,7 @@ if issue or status or built_after or built_before:
"AND s.architecture= '{arch}' " + \
"AND s.suite = '{suite}' AND r.status != 'blacklisted' "
if issue:
- query += "AND n.package_id=s.id AND n.issues LIKE '%{issue}%' "
+ query += "AND n.package_id=s.id AND n.issues LIKE '%%{issue}%%' "
formatter['issue'] = issue
formatter['notes_table'] = "notes AS n,"
if status: