summaryrefslogtreecommitdiff
path: root/Mailman/interfaces/rules.py
diff options
context:
space:
mode:
authorBarry Warsaw2007-12-29 01:13:38 -0500
committerBarry Warsaw2007-12-29 01:13:38 -0500
commitb7fc1a2cd9cc63f9bfafb6d3e7a28f3b64f3ed97 (patch)
treee33933b88fc4fd7e108c174da6292946bd9128e7 /Mailman/interfaces/rules.py
parent306a1ceee0aad4c623f029d8809b40f7f55b9a6f (diff)
downloadmailman-b7fc1a2cd9cc63f9bfafb6d3e7a28f3b64f3ed97.tar.gz
mailman-b7fc1a2cd9cc63f9bfafb6d3e7a28f3b64f3ed97.tar.zst
mailman-b7fc1a2cd9cc63f9bfafb6d3e7a28f3b64f3ed97.zip
Diffstat (limited to 'Mailman/interfaces/rules.py')
-rw-r--r--Mailman/interfaces/rules.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/interfaces/rules.py b/Mailman/interfaces/rules.py
index 5ef741852..13edcf481 100644
--- a/Mailman/interfaces/rules.py
+++ b/Mailman/interfaces/rules.py
@@ -35,6 +35,7 @@ class IRule(Interface):
def check(mlist, msg, msgdata):
"""Run the rule.
+ :param mlist: The mailing list object.
:param msg: The message object.
:param msgdata: The message metadata.
:return: A boolean specifying whether the rule was matched or not.
@@ -45,7 +46,7 @@ class IRule(Interface):
class IRuleSet(Interface):
"""A rule processor."""
- rules = Attribute('The set of all rules this processor knows about')
+ rules = Attribute('The set of all rules this processor knows about.')
def __getitem__(rule_name):
"""Return the named rule.