X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/865ddb235489f38afd7043ee269e4f958474bd5a..f1bb67630d2233b46673806941bd71b22e6147ab:/pymin/services/nat/__init__.py?ds=sidebyside diff --git a/pymin/services/nat/__init__.py b/pymin/services/nat/__init__.py index c22783f..4724fba 100644 --- a/pymin/services/nat/__init__.py +++ b/pymin/services/nat/__init__.py @@ -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.