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!)
This commit is contained in:
js 2008-07-20 14:53:34 +00:00
parent dd63bbe7d2
commit 8c49e10f93
1 changed files with 1 additions and 7 deletions

View File

@ -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'):