From 8c49e10f931a16f56c56ad03b442a19173edb65e Mon Sep 17 00:00:00 2001 From: js Date: Sun, 20 Jul 2008 14:53:34 +0000 Subject: [PATCH] It's bad to silently drop errors when not running it from the SVN repo. On Windows, it's even worse: When something throws a TB, the user won't notice before Gajim is terminated (a dialog will show then that gajim.exe.log was created, nothing more!) --- src/gajim.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/gajim.py b/src/gajim.py index b763f2835..6ac09ec77 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -213,13 +213,7 @@ if pritext: del pritext -path = os.getcwd() -if '.svn' in os.listdir(path) or '_svn' in os.listdir(path): - # import gtkexcepthook only for those that run svn - # those than run with --verbose run from terminal so no need to care - # about those - import gtkexcepthook -del path +import gtkexcepthook import gobject if not hasattr(gobject, 'timeout_add_seconds'):