From: Holger Levsen Date: Fri, 12 Oct 2012 12:57:25 +0000 (+0200) Subject: remove useless commit X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=a6ec4dd5024b323d0650b76f9cba790f99c91ea6;p=profitbricks%2Fjenkins-build-scripts.git remove useless commit --- diff --git a/db_add.py b/db_add.py index 31a7c93..779cb5d 100755 --- a/db_add.py +++ b/db_add.py @@ -27,7 +27,6 @@ def db_add_job(con, name): cur.execute("ROLLBACK TO a") # have to rollback after failed command cur.execute("SELECT id FROM jenkins_job WHERE name='%s'" % (name)) #logger.debug("INSERT INTO jenkins_job(name) VALUES('%s')" % (name)) - con.commit() return cur.fetchone()[0] def db_add_build(con, db_id, number, start, end, status):