]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/proxy/__init__.py
Hack for DNS timer_handle added.
[software/pymin.git] / pymin / services / proxy / __init__.py
index 85bafd8c2d44cecd0299b49ce9ae240a51ca5e7b..a02e6c58df2e7c69a8d8508f2029c84c23f461c6 100644 (file)
@@ -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)