X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/b927d948f9b32c99da909af49f41bb1d4adb2a5e..8c3c99945f0124871769997e7335546b52b0af61:/services/vpn/handler.py?ds=inline diff --git a/services/vpn/handler.py b/services/vpn/handler.py index 4f0e04b..802e089 100644 --- a/services/vpn/handler.py +++ b/services/vpn/handler.py @@ -11,11 +11,7 @@ from pymin.dispatcher import Handler, handler, HandlerError 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):