]> git.llucax.com Git - software/pymin.git/blobdiff - services/nat/handler.py
Add configuration and command-line option framework.
[software/pymin.git] / services / nat / handler.py
index 32e2608b930c11f2ddc3f65e3a3294c036377bc1..042a23c290c7997a910ddd05a8cc832a62b556bf 100644 (file)
@@ -9,11 +9,7 @@ from pymin.service.util import Restorable, ConfigWriter, RestartHandler, \
                                ReloadHandler, TransactionalHandler, \
                                ServiceHandler, ListSubHandler, call
 
-__all__ = ('NatHandler', 'get_service')
-
-
-def get_service(config):
-    return NatHandler(config.nat.pickle_dir)
+__all__ = ('NatHandler')
 
 
 class PortForward(Sequence):