From f060342b5e33ccde03250eb2e77204a75d01f2ff Mon Sep 17 00:00:00 2001 From: junglecow Date: Sat, 6 Jan 2007 14:15:49 +0000 Subject: [PATCH] Catch only what you expect. We don't want to catch things like unknown variables (and other programming errors) and SystemExit. --- src/gtkgui_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py index 85ebd3927..9ffcb7acb 100644 --- a/src/gtkgui_helpers.py +++ b/src/gtkgui_helpers.py @@ -675,7 +675,7 @@ icon=gajim Description=xmpp ''' % command) f.close() - except: + except IOError: pass try: