From 17e5f8e2cecd67b95b09d8d8eb641c0c141fc037 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Wed, 26 Apr 2017 10:34:37 +0200 Subject: 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 Signed-off-by: Holger Levsen --- bin/reproducible_remote_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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: -- cgit v1.2.3-70-g09d2