summaryrefslogtreecommitdiff
path: root/Mailman/rules/suspicious.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/suspicious.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/suspicious.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mailman/rules/suspicious.py b/Mailman/rules/suspicious.py
index 6384f8b9e..0464a6336 100644
--- a/Mailman/rules/suspicious.py
+++ b/Mailman/rules/suspicious.py
@@ -17,7 +17,7 @@
"""The historical 'suspicious header' rule."""
-__all__ = ['suspicious_header']
+__all__ = ['SuspiciousHeader']
__metaclass__ = type
@@ -90,7 +90,3 @@ def has_matching_bounce_header(mlist, msg):
if cre.search(value):
return True
return False
-
-
-
-suspicious_header = SuspiciousHeader()