]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/nat/__init__.py
Alias reload to restart in DhcpHandler (init.d script don't have reload).
[software/pymin.git] / pymin / services / nat / __init__.py
index c22783ff1d4a17a2f723c38e72a05a013adfe770..4724fba550b7bab420dd42bd2ef446ada7356c7d 100644 (file)
@@ -8,18 +8,7 @@ from pymin.services.util import Restorable, ConfigWriter, RestartHandler, \
                                 ReloadHandler, TransactionalHandler, \
                                 ListSubHandler, call
 
-__ALL__ = ('NatHandler', 'Error')
-
-class Error(HandlerError):
-    r"""
-    Error(command) -> Error instance :: Base NatHandler exception class.
-
-    All exceptions raised by the NatHandler inherits from this one, so you can
-    easily catch any NatHandler exception.
-
-    message - A descriptive error message.
-    """
-    pass
+__ALL__ = ('NatHandler',)
 
 class PortForward(Sequence):
     r"""PortForward(dev, protocol, port, dst[, dst_port[, ...]]) -> PortForward.