From 24cc7964107b47089ecdc19ae9e731aab6683797 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 16 Feb 2015 06:12:35 +0100 Subject: reproducible: common: also commit() changes to the db in query_db() --- bin/reproducible_common.py | 1 + 1 file changed, 1 insertion(+) 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(): -- cgit v1.2.3-70-g09d2