]> git.llucax.com Git - software/pymin.git/blobdiff - services/proxy/handler.py
Remove configuration examples.
[software/pymin.git] / services / proxy / handler.py
index 7a5272476bf4f9a0a27fcc2910931b32af2f9cfc..a2e86e51e6442898bf97ce1f420fa68e3e9a51a4 100644 (file)
@@ -1,6 +1,7 @@
 # vim: set encoding=utf-8 et sw=4 sts=4 :
 
 from os import path
+import crypt
 import logging ; log = logging.getLogger('pymin.services.proxy')
 
 from pymin.seqtools import Sequence
@@ -9,14 +10,7 @@ from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
                                TransactionalHandler, ParametersHandler, \
                                DictSubHandler
 
-import crypt
-
-
-__all__ = ('ProxyHandler', 'get_service')
-
-
-def get_service(config):
-    return ProxyHandler(config.proxy.pickle_dir, config.proxy.config_dir)
+__all__ = ('ProxyHandler')
 
 
 class Host(Sequence):