From 4459d6873e842fe9f3c46dd25341372fdfea75ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Wed, 13 Nov 2024 23:11:50 -0800 Subject: [PATCH] Add a rollback --- python/target_selection/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/target_selection/utils.py b/python/target_selection/utils.py index 04e51a9a..78007944 100644 --- a/python/target_selection/utils.py +++ b/python/target_selection/utils.py @@ -347,7 +347,7 @@ def get_configuration_values(database, parameters): value = database.execute_sql(f"SHOW {parameter}").fetchone()[0] values[parameter] = value except ProgrammingError: - pass + database.rollback() return values