don't return unused value from D-Bus signal callback

This commit is contained in:
Dafydd Harries 2007-04-30 18:43:43 +01:00
parent e936b1e1fc
commit f6c5b63a58

View File

@ -501,8 +501,6 @@ class ServerPlugin(gobject.GObject):
state -- CONNECTION_STATUS_*
reason -- integer code describing the reason...
returns False XXX what does that mean?
"""
if state == CONNECTION_STATUS_CONNECTING:
logging.debug("State: connecting...")
@ -517,7 +515,6 @@ class ServerPlugin(gobject.GObject):
if reason == CONNECTION_STATUS_REASON_AUTHENTICATION_FAILED:
# FIXME: handle connection failure; retry later?
pass
return False
def start(self):
"""Start up the Telepathy networking connections