diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-05-09 01:12:18 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-05-09 09:37:31 +0200 |
commit | dc9ef4cfa54b5701849e4c312c982a457bb077d1 (patch) | |
tree | f76794c5a3f96455fe492873902705ed3f7a7738 /bin | |
parent | ce53e9283d9501b22e4116b4392fb9a1651481f3 (diff) | |
download | jenkins.debian.net-dc9ef4cfa54b5701849e4c312c982a457bb077d1.tar.xz |
reproducible: remote_scheduler: fix sql query syntax
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index 27916538..edd2caba 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -137,8 +137,8 @@ log.debug('Packages about to be scheduled: ' + str(to_schedule)) query1 = '''REPLACE INTO schedule (package_id, date_scheduled, date_build_started, save_artifacts, notify, scheduler) VALUES (?, ?, "", ?, "true", ?)''' -query2 = '''INSTERT INTO manual_scheduler - (package_id, requester, date_request) VALUS (?, ?, ?)''' +query2 = '''INSERT INTO manual_scheduler + (package_id, requester, date_request) VALUES (?, ?, ?)''' cursor = conn_db.cursor() cursor.executemany(query1, to_schedule) |