diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2006-10-10 22:20:09 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2006-10-10 22:20:09 +0400 |
commit | ff8ba1f56e39803129aec45981faa56e8b5f9c70 (patch) | |
tree | 643b98d09014399f7387f606809dbdfe46575c2a /src | |
parent | 78f27533b6290d1b7f29d7f4bb643f9d11ff7534 (diff) |
print error message instead of raising a TB when Dbus is not present and we try to use gajim-remote. Fixes #2539
Diffstat (limited to 'src')
-rwxr-xr-x | src/gajim-remote.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gajim-remote.py b/src/gajim-remote.py index f9ce4312e..75545333b 100755 --- a/src/gajim-remote.py +++ b/src/gajim-remote.py @@ -40,7 +40,8 @@ try: import dbus.service import dbus.glib except: - raise exceptions.DbusNotSupported + print str(exceptions.DbusNotSupported()) + sys.exit(1) OBJ_PATH = '/org/gajim/dbus/RemoteObject' INTERFACE = 'org.gajim.dbus.RemoteInterface' |