Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2006-10-10 22:20:09 +0400
committerYann Leboulanger <asterix@lagaule.org>2006-10-10 22:20:09 +0400
commitff8ba1f56e39803129aec45981faa56e8b5f9c70 (patch)
tree643b98d09014399f7387f606809dbdfe46575c2a /src
parent78f27533b6290d1b7f29d7f4bb643f9d11ff7534 (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-xsrc/gajim-remote.py3
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'