diff options
Diffstat (limited to '')
| -rw-r--r-- | Mailman/interfaces/rules.py (renamed from Mailman/interfaces/rule.py) | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Mailman/interfaces/rule.py b/Mailman/interfaces/rules.py index c0cf71697..5ef741852 100644 --- a/Mailman/interfaces/rule.py +++ b/Mailman/interfaces/rules.py @@ -42,18 +42,9 @@ class IRule(Interface): -class IRuleProcessor(Interface): +class IRuleSet(Interface): """A rule processor.""" - def process(mlist, msg, msgdata): - """Run all rules this processor knows about. - - :param mlist: The mailing list this message was posted to. - :param msg: The message object. - :param msgdata: The message metadata. - :return: A set of rule names that matched. - """ - rules = Attribute('The set of all rules this processor knows about') def __getitem__(rule_name): |
