summaryrefslogtreecommitdiff
path: root/Mailman/rules/loop.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-01-01 13:49:27 -0500
committerBarry Warsaw2008-01-01 13:49:27 -0500
commitadae635a4ca147937019fdd91aebd95a2769b9ca (patch)
tree7cdae81b4b7715781e889f32bbd0dbba80609367 /Mailman/rules/loop.py
parent5b4bb22feca4d520afef44d1c472807e020d17b5 (diff)
downloadmailman-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/loop.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mailman/rules/loop.py b/Mailman/rules/loop.py
index 77cedb0a6..a88858d6a 100644
--- a/Mailman/rules/loop.py
+++ b/Mailman/rules/loop.py
@@ -17,7 +17,7 @@
"""Look for a posting loop."""
-__all__ = ['loop_rule']
+__all__ = ['Loop']
__metaclass__ = type
@@ -41,7 +41,3 @@ class Loop:
been_theres = [value.strip().lower()
for value in msg.get_all('x-beenthere', [])]
return mlist.posting_address in been_theres
-
-
-
-loop_rule = Loop()