From 2d8bbc892faa147a8b35746cefd05cd3f91f4e3a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 11 Oct 2012 16:55:05 +0200 Subject: [PATCH] typo love --- db_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_add.py b/db_add.py index fca6dae..3dfe8f0 100755 --- a/db_add.py +++ b/db_add.py @@ -133,7 +133,7 @@ def db_add_requested_liveboot_build (con, request_id, build_id): cur = con.cursor() cur.execute("SAVEPOINT a") try: - cur.execute("INSERT INTO liveboot_request_jenkins_build(liveboot_request_id, jenkins_build_id) VALUES(%s, %s) RETURNING id" % (request_id_ build_id)) + cur.execute("INSERT INTO liveboot_request_jenkins_build(liveboot_request_id, jenkins_build_id) VALUES(%s, %s) RETURNING id" % (request_id, build_id)) except psycopg2.DatabaseError as e: cur.execute("ROLLBACK TO a") # have to rollback after failed command #logger.debug("INSERT INTO jenkins_build(jenkins_build_number, jenkins_job_id) VALUES(%s, %s) RETURNING id" % (number, db_id)) -- 2.39.5