]> git.llucax.com Git - software/pymin.git/blobdiff - services/firewall/handler.py
Add configuration and command-line option framework.
[software/pymin.git] / services / firewall / handler.py
index 50a8dfb10683a2418b317186d05373faa7932d1a..b2341675a0881f5360d8d4e4ba2dee0a3ba6a318 100644 (file)
@@ -14,11 +14,7 @@ from pymin.dispatcher import Handler, handler, HandlerError
 from pymin.service.util import Restorable, ConfigWriter, ServiceHandler, \
                                TransactionalHandler, ListSubHandler
 
-__all__ = ('FirewallHandler', 'get_service')
-
-
-def get_service(config):
-    return FirewallHandler(config.firewall.pickle_dir, config.firewall.config_dir)
+__all__ = ('FirewallHandler')
 
 
 class UpOneOf(OneOf):