From cba40744fbe8fabae90b87ad3dc4dbedc7b44fa6 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 15 Jul 2018 20:33:09 +0200 Subject: [PATCH] No need to commit without opening a transaction first --- platypush/plugins/db/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/platypush/plugins/db/__init__.py b/platypush/plugins/db/__init__.py index 6b00c6c70..205510af9 100644 --- a/platypush/plugins/db/__init__.py +++ b/platypush/plugins/db/__init__.py @@ -68,7 +68,6 @@ class DbPlugin(Plugin): with engine.connect() as connection: result = connection.execute(statement) - connection.commit() @action