diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-02-16 06:12:35 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-18 12:08:57 +0100 |
commit | 24cc7964107b47089ecdc19ae9e731aab6683797 (patch) | |
tree | b7b561750f98072ae3f7fcea1ff269e6bf6ced10 | |
parent | af1d95d178e97cf789ca11cc2b95dbd8633fd236 (diff) | |
download | jenkins.debian.net-24cc7964107b47089ecdc19ae9e731aab6683797.tar.xz |
reproducible: common: also commit() changes to the db in query_db()
-rwxr-xr-x | bin/reproducible_common.py | 1 |
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(): |