diff options
| author | Barry Warsaw | 2008-01-01 22:37:08 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2008-01-01 22:37:08 -0500 |
| commit | 6ca002e04d647671d55ee928fe134b0e223606cb (patch) | |
| tree | 16f0ace720c78d49b06d5587618a82565305c24e /Mailman/interfaces/rules.py | |
| parent | adae635a4ca147937019fdd91aebd95a2769b9ca (diff) | |
| download | mailman-6ca002e04d647671d55ee928fe134b0e223606cb.tar.gz mailman-6ca002e04d647671d55ee928fe134b0e223606cb.tar.zst mailman-6ca002e04d647671d55ee928fe134b0e223606cb.zip | |
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. """ |
