summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-02-16 06:12:35 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-18 12:08:57 +0100
commit24cc7964107b47089ecdc19ae9e731aab6683797 (patch)
treeb7b561750f98072ae3f7fcea1ff269e6bf6ced10 /bin
parentaf1d95d178e97cf789ca11cc2b95dbd8633fd236 (diff)
downloadjenkins.debian.net-24cc7964107b47089ecdc19ae9e731aab6683797.tar.xz
reproducible: common: also commit() changes to the db in query_db()
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index db5cc26d..b25bc39f 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -212,6 +212,7 @@ def start_db_connection():
def query_db(query):
cursor = conn_db.cursor()
cursor.execute(query)
+ conn_db.commit()
return cursor.fetchall()
def start_udd_connection():