summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-05-09 01:12:18 +0200
committerHolger Levsen <holger@layer-acht.org>2015-05-09 09:37:31 +0200
commitdc9ef4cfa54b5701849e4c312c982a457bb077d1 (patch)
treef76794c5a3f96455fe492873902705ed3f7a7738
parentce53e9283d9501b22e4116b4392fb9a1651481f3 (diff)
downloadjenkins.debian.net-dc9ef4cfa54b5701849e4c312c982a457bb077d1.tar.xz
reproducible: remote_scheduler: fix sql query syntax
-rwxr-xr-xbin/reproducible_remote_scheduler.py4
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)