diff options
Diffstat (limited to 'Mailman/interfaces/rules.py')
| -rw-r--r-- | Mailman/interfaces/rules.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Mailman/interfaces/rules.py b/Mailman/interfaces/rules.py index c023acf6b..5549b8e6b 100644 --- a/Mailman/interfaces/rules.py +++ b/Mailman/interfaces/rules.py @@ -17,25 +17,10 @@ """Interface describing the basics of rules.""" -from munepy import Enum from zope.interface import Interface, Attribute -class ChainJump(Enum): - # Allow the next rule in the chain to be run. - defer = 0 - # Jump to the 'accept' chain. - accept = 1 - # Jump to the 'hold' chain. - hold = 2 - # Jump to the 'reject' chain. - reject = 3 - # Jump to the 'discard' chain. - discard = 4 - - - class DuplicateRuleError(Exception): """A rule or rule name is added to a processor more than once.""" @@ -57,7 +42,6 @@ class IRule(Interface): :param mlist: The mailing list object. :param msg: The message object. :param msgdata: The message metadata. - :return: A chain to jump to, i.e. an ChainJump enum. """ |
