X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/8b148a195996b9bdc46f1f12b9ba9fb0b6a99714..722e355a1d01c2620dc665af8ffaa8f7b0d04994:/pymin/services/proxy/__init__.py?ds=sidebyside diff --git a/pymin/services/proxy/__init__.py b/pymin/services/proxy/__init__.py index 85bafd8..a02e6c5 100644 --- a/pymin/services/proxy/__init__.py +++ b/pymin/services/proxy/__init__.py @@ -10,18 +10,7 @@ from pymin.services.util import Restorable, ConfigWriter, InitdHandler, \ import crypt -__ALL__ = ('ProxyHandler', 'Error') - -class Error(HandlerError): - r""" - Error(command) -> Error instance :: Base DnsHandler exception class. - - All exceptions raised by the DnsHandler inherits from this one, so you can - easily catch any DnsHandler exception. - - message - A descriptive error message. - """ - pass +__ALL__ = ('ProxyHandler',) class Host(Sequence): def __init__(self,ip): @@ -81,7 +70,7 @@ class ProxyHandler(Restorable, ConfigWriter, InitdHandler, self._persistent_dir = pickle_dir self._config_writer_cfg_dir = config_dir self._config_build_templates() - self._restore() + InitdHandler.__init__(self) self.host = HostHandler(self) self.user = UserHandler(self)