Author: nicfit
Date: 2007-12-14 04:19:22 +0100 (Fri, 14 Dec 2007)
New Revision: 9140
Modified:
trunk/src/remote_control.py
Log:
raise and return, right next to each other? Go with the newer revision of
returning DBUS_BOOLEAN(False)
Modified: trunk/src/remote_control.py
===================================================================
--- trunk/src/remote_control.py 2007-12-13 20:51:13 UTC (rev 9139)
+++ trunk/src/remote_control.py 2007-12-14 03:19:22 UTC (rev 9140)
@@ -373,7 +373,6 @@
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,