commit f8237ade6c620fbcd7a7f606b035507ff8da49a3 parent 9259f9055afb70366e28065a1d94c4aa272c46ca Author: Antoine Amarilli <a3nm@a3nm.net> Date: Sat, 21 May 2011 12:55:48 -0400 fix dump mechanism Diffstat:
snipe.py | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/snipe.py b/snipe.py @@ -210,10 +210,9 @@ try: for player in set([t[0] for t in todo]): game[player].report() -except Exception as e: +finally: f = open(dump_file, 'wb+') pickle.dump(game, f) f.close() - raise e