From: Esko Kokkonen Date: Sun, 18 Sep 2011 14:56:20 +0000 (+0300) Subject: Don't return function if exception occurs X-Git-Url: http://git.itanic.dy.fi/?p=emerge-timer;a=commitdiff_plain;h=fcaa028370ed6357ed891aa3de7e569f7e17ec41 Don't return function if exception occurs So remove the return line from the finally block. --- diff --git a/emerge-timer.py b/emerge-timer.py index 7fbb78f..f911fc4 100755 --- a/emerge-timer.py +++ b/emerge-timer.py @@ -193,8 +193,8 @@ def open_log(): except IOError as detail: print detail sys.exit(1) - finally: - return f + + return f