From: Holger Levsen Date: Wed, 26 Sep 2012 16:14:29 +0000 (+0200) Subject: fix typo X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=8eb68515ec584770029479feae0390300c6b20f9;p=profitbricks%2Fjenkins-build-scripts.git fix typo --- diff --git a/debian_build.py b/debian_build.py index 0ac4785..07ff817 100755 --- a/debian_build.py +++ b/debian_build.py @@ -133,10 +133,10 @@ def db_add_build(con, number, db_id): cur = con.cursor() cur.execute("SAVEPOINT a") try: - cur.execute("INSERT INTO jenkins_build(jenkins_build_number, jenkins_job_id VALUES(%s, %s) RETURNING id" % (number, db_id)) + cur.execute("INSERT INTO jenkins_build(jenkins_build_number, jenkins_job_id) VALUES(%s, %s) RETURNING id" % (number, db_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)) + #logger.debug("INSERT INTO jenkins_build(jenkins_build_number, jenkins_job_id) VALUES(%s, %s) RETURNING id" % (number, db_id)) return cur.fetchone()[0] def db_add_build_result(con, number, start, end):