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:
parent
dd63bbe7d2
commit
8c49e10f93
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue