From a55a62a4d40dadcec7cdd12753d2ec375bc5d048 Mon Sep 17 00:00:00 2001 From: Travis Shirk Date: Fri, 14 Dec 2007 03:19:22 +0000 Subject: [PATCH] raise and return, right next to each other? Go with the newer revision of returning DBUS_BOOLEAN(False) --- src/remote_control.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/remote_control.py b/src/remote_control.py index 3bde37b72..a1c646aaa 100644 --- a/src/remote_control.py +++ b/src/remote_control.py @@ -373,7 +373,6 @@ class SignalObject(dbus.service.Object): if not specified status is changed for all accounts. ''' if status not in ('offline', 'online', 'chat', 'away', 'xa', 'dnd', 'invisible'): - raise InvalidArgument return DBUS_BOOLEAN(False) if account: gobject.idle_add(gajim.interface.roster.send_status, account,