don't return unused value from D-Bus signal callback
This commit is contained in:
parent
e936b1e1fc
commit
f6c5b63a58
@ -501,8 +501,6 @@ class ServerPlugin(gobject.GObject):
|
|||||||
|
|
||||||
state -- CONNECTION_STATUS_*
|
state -- CONNECTION_STATUS_*
|
||||||
reason -- integer code describing the reason...
|
reason -- integer code describing the reason...
|
||||||
|
|
||||||
returns False XXX what does that mean?
|
|
||||||
"""
|
"""
|
||||||
if state == CONNECTION_STATUS_CONNECTING:
|
if state == CONNECTION_STATUS_CONNECTING:
|
||||||
logging.debug("State: connecting...")
|
logging.debug("State: connecting...")
|
||||||
@ -517,7 +515,6 @@ class ServerPlugin(gobject.GObject):
|
|||||||
if reason == CONNECTION_STATUS_REASON_AUTHENTICATION_FAILED:
|
if reason == CONNECTION_STATUS_REASON_AUTHENTICATION_FAILED:
|
||||||
# FIXME: handle connection failure; retry later?
|
# FIXME: handle connection failure; retry later?
|
||||||
pass
|
pass
|
||||||
return False
|
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
"""Start up the Telepathy networking connections
|
"""Start up the Telepathy networking connections
|
||||||
|
Loading…
Reference in New Issue
Block a user