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
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote_control.py')
-rw-r--r--src/remote_control.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/remote_control.py b/src/remote_control.py
index 1af7b7615..75e9606e9 100644
--- a/src/remote_control.py
+++ b/src/remote_control.py
@@ -327,7 +327,8 @@ class SignalObject(dbus.service.Object):
'''Shows the tabbed window for new message to 'jid', using account
(optional) 'account' '''
if not jid:
- raise dbus_support.MissingArgument()
+ raise MissingArgument
+ return DBUS_BOOLEAN(False)
jid = self._get_real_jid(jid, account)
try:
jid = helpers.parse_jid(jid)
@@ -407,7 +408,8 @@ class SignalObject(dbus.service.Object):
if not isinstance(jid, unicode):
jid = unicode(jid)
if not jid:
- raise dbus_support.MissingArgument()
+ raise MissingArgument
+ return DBUS_DICT_SV()
jid = self._get_real_jid(jid)
cached_vcard = gajim.connections.values()[0].get_cached_vcard(jid)