(self, name, addrinfo)
removes a single server of the given service
removes a single server of the given service
removes a single server of the given service
def _remove_service(self, name, addrinfo):
        """removes a single server of the given service"""
        self.services[name].pop(addrinfo, None)
        if not self.services[name]:
            del self.services[name]
        try:
            self.on_service_removed(name, addrinfo)
        except Exception:
            self.logger.exception('error executing service remove callback')
def _remove_service ( self , name , addrinfo ) : self . services [ name ] . pop ( addrinfo , None ) if not self . services [ name ] : del self . services [ name ] try : self . on_service_removed ( name , addrinfo ) except Exception : self . logger . exception ( 'error executing service remove callback' )