diff --git a/bin/netsvc.py b/bin/netsvc.py index 3edf977624f..4143092eabe 100644 --- a/bin/netsvc.py +++ b/bin/netsvc.py @@ -134,18 +134,9 @@ class LocalService(Service): Logger().notifyChannel('module', LOG_ERROR, 'This service does not exists: %s' % (str(keyError),) ) raise - - -class ServiceUnavailable(Exception): - pass - - def service_exist(name): return (name in _service) and bool(_service[name]) - - - LOG_DEBUG_RPC = 'debug_rpc' LOG_DEBUG = 'debug' LOG_INFO = 'info' @@ -255,7 +246,6 @@ class xmlrpc(object): def __init__(self, name): self.name = name - class GenericXMLRPCRequestHandler: def log(self, title, msg): from pprint import pformat