Skip to content

Commit

Permalink
Add a rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 14, 2024
1 parent b78db24 commit 9031b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/target_selection/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9031b9d

Please sign in to comment.