X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/3a113e91bcbc8e34d9ef66915ccec80e6187332b..a5e2677e65427f1bc577a1deba121060972801d6:/services/proxy/handler.py diff --git a/services/proxy/handler.py b/services/proxy/handler.py index 7a52724..a2e86e5 100644 --- a/services/proxy/handler.py +++ b/services/proxy/handler.py @@ -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):