]> git.llucax.com Git - software/pymin.git/blobdiff - services/vpn/handler.py
Fix example configuration file for development.
[software/pymin.git] / services / vpn / handler.py
index 4f0e04ba31d01a597ad6a004b726093e67367105..802e089393ac6f9eb3c31e8760292baafeecc478 100644 (file)
@@ -11,11 +11,7 @@ from pymin.dispatcher import Handler, handler, HandlerError
 from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
                                TransactionalHandler, DictSubHandler, DictComposedSubHandler, call, ExecutionError
 
 from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
                                TransactionalHandler, DictSubHandler, DictComposedSubHandler, call, ExecutionError
 
-__all__ = ('VpnHandler', 'get_service')
-
-
-def get_service(config):
-    return VpnHandler(config.vpn.pickle_dir, config.vpn.config_dir)
+__all__ = ('VpnHandler')
 
 
 class Host(Sequence):
 
 
 class Host(Sequence):