[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: remote scheduler: unbreak -i option

Holger Levsen holger at layer-acht.org
Wed Apr 26 08:49:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 17e5f8e2cecd67b95b09d8d8eb641c0c141fc037
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Wed Apr 26 10:34:37 2017 +0200

    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 at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_remote_scheduler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index cd1eaad..ff14806 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:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list