add rollback to release locks taken in postgres

This commit is contained in:
sqlcoder 2009-05-09 23:18:58 +01:00
parent b7ee425558
commit 199a91ea99

View File

@ -195,6 +195,7 @@ class HUD_main(object):
sys.stderr.write("table name "+table_name+" not found, skipping.\n")
else:
self.create_HUD(new_hand_id, tablewindow, temp_key, max, poker_game, stat_dict, cards)
self.db_connection.connection.rollback()
if __name__== "__main__":
sys.stderr.write("HUD_main starting\n")