X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/3a113e91bcbc8e34d9ef66915ccec80e6187332b..8c3c99945f0124871769997e7335546b52b0af61:/services/vrrp/handler.py diff --git a/services/vrrp/handler.py b/services/vrrp/handler.py index 5ddbbaf..9d8e5b5 100644 --- a/services/vrrp/handler.py +++ b/services/vrrp/handler.py @@ -1,18 +1,13 @@ # vim: set encoding=utf-8 et sw=4 sts=4 : +import logging ; log = logging.getLogger('pymin.services.vrrp') + from pymin import procman from pymin.service.util import Restorable, TransactionalHandler, \ ReloadHandler, RestartHandler, \ ServiceHandler, ParametersHandler -# Logger -import logging ; log = logging.getLogger('pymin.services.vrrp') - -__all__ = ('VrrpHandler', 'get_service') - - -def get_service(config): - return VrrpHandler(config.vrrp.pickle_dir, config.vrrp.config_dir) +__all__ = ('VrrpHandler') # FIXME the the command should not use new parameters unless commit where called