From a6ec4dd5024b323d0650b76f9cba790f99c91ea6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 12 Oct 2012 14:57:25 +0200 Subject: [PATCH] remove useless commit --- db_add.py | 1 - 1 file changed, 1 deletion(-) 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): -- 2.39.5