From d2e235838eefbde786acff96fd5051c1343de4bf Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sun, 24 Sep 2006 21:30:28 -0400 Subject: [PATCH] Only print out service resolutions, not updates --- services/presence/PresenceService.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/services/presence/PresenceService.py b/services/presence/PresenceService.py index 976d5e03..73c2efab 100644 --- a/services/presence/PresenceService.py +++ b/services/presence/PresenceService.py @@ -469,11 +469,9 @@ class PresenceService(object): updated): """When the service discovery finally gets here, we've got enough information about the service to assign it to a buddy.""" - tag = "Resolved" - if updated: - tag = "Updated" - logging.debug("%s service '%s' type '%s' domain '%s' to " \ - " %s:%s" % (tag, full_name, stype, domain, address, port)) + if updated == False: + logging.debug("Resolved service '%s' type '%s' domain '%s' to " \ + " %s:%s" % (full_name, stype, domain, address, port)) if not adv in self._service_advs: return False