From dc9ef4cfa54b5701849e4c312c982a457bb077d1 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 9 May 2015 01:12:18 +0200 Subject: reproducible: remote_scheduler: fix sql query syntax --- bin/reproducible_remote_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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) -- cgit v1.2.3-70-g09d2