diff options
| author | Barry Warsaw | 2008-01-01 13:49:27 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2008-01-01 13:49:27 -0500 |
| commit | adae635a4ca147937019fdd91aebd95a2769b9ca (patch) | |
| tree | 7cdae81b4b7715781e889f32bbd0dbba80609367 /Mailman/rules/max_recipients.py | |
| parent | 5b4bb22feca4d520afef44d1c472807e020d17b5 (diff) | |
| download | mailman-adae635a4ca147937019fdd91aebd95a2769b9ca.tar.gz mailman-adae635a4ca147937019fdd91aebd95a2769b9ca.tar.zst mailman-adae635a4ca147937019fdd91aebd95a2769b9ca.zip | |
Extended test_documentation.py to be able to find doctests in subdirectories
called 'docs' anywhere under the Mailman package. Change the rule API to
return rule classes not instances. Added the ChainJump enum, though this will
likely change soon.
Diffstat (limited to '')
| -rw-r--r-- | Mailman/rules/max_recipients.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Mailman/rules/max_recipients.py b/Mailman/rules/max_recipients.py index 6e3451e4e..dfa23f659 100644 --- a/Mailman/rules/max_recipients.py +++ b/Mailman/rules/max_recipients.py @@ -17,7 +17,7 @@ """The maximum number of recipients rule.""" -__all__ = ['max_recipients_rule'] +__all__ = ['MaximumRecipients'] __metaclass__ = type @@ -45,7 +45,3 @@ class MaximumRecipients: recipients = getaddresses(msg.get_all('to', []) + msg.get_all('cc', [])) return len(recipients) >= mlist.max_num_recipients - - - -max_recipients_rule = MaximumRecipients() |
