Only print out service resolutions, not updates
This commit is contained in:
parent
7268d8803d
commit
d2e235838e
@ -469,11 +469,9 @@ class PresenceService(object):
|
|||||||
updated):
|
updated):
|
||||||
"""When the service discovery finally gets here, we've got enough
|
"""When the service discovery finally gets here, we've got enough
|
||||||
information about the service to assign it to a buddy."""
|
information about the service to assign it to a buddy."""
|
||||||
tag = "Resolved"
|
if updated == False:
|
||||||
if updated:
|
logging.debug("Resolved service '%s' type '%s' domain '%s' to " \
|
||||||
tag = "Updated"
|
" %s:%s" % (full_name, stype, domain, address, port))
|
||||||
logging.debug("%s service '%s' type '%s' domain '%s' to " \
|
|
||||||
" %s:%s" % (tag, full_name, stype, domain, address, port))
|
|
||||||
|
|
||||||
if not adv in self._service_advs:
|
if not adv in self._service_advs:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user