From: Holger Levsen Date: Thu, 11 Oct 2012 14:55:05 +0000 (+0200) Subject: typo love X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=2d8bbc892faa147a8b35746cefd05cd3f91f4e3a;p=profitbricks%2Fjenkins-build-scripts.git typo love --- 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))