]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
remove useless commit
authorHolger Levsen <holger@layer-acht.org>
Fri, 12 Oct 2012 12:57:25 +0000 (14:57 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 12 Oct 2012 12:57:25 +0000 (14:57 +0200)
db_add.py

index 31a7c93e70d587c74171099cac585b27ab9cd3a9..779cb5de5af9f4c7dad3ef55e3c7e67876904491 100755 (executable)
--- 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):