summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/rfc_2369.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-03-25 09:36:52 -0400
committerBarry Warsaw2016-03-25 09:36:52 -0400
commitb9c06627e46ff1e9f09965228ab3b48f217109af (patch)
treea600fa04dd2ac6d006b88aee2c5e605673629fa3 /src/mailman/handlers/rfc_2369.py
parent49d630f2761175e404f3b1d811e61bc43eb6b25b (diff)
downloadmailman-b9c06627e46ff1e9f09965228ab3b48f217109af.tar.gz
mailman-b9c06627e46ff1e9f09965228ab3b48f217109af.tar.zst
mailman-b9c06627e46ff1e9f09965228ab3b48f217109af.zip
Diffstat (limited to 'src/mailman/handlers/rfc_2369.py')
-rw-r--r--src/mailman/handlers/rfc_2369.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mailman/handlers/rfc_2369.py b/src/mailman/handlers/rfc_2369.py
index 4f172bde1..3daf6414d 100644
--- a/src/mailman/handlers/rfc_2369.py
+++ b/src/mailman/handlers/rfc_2369.py
@@ -17,14 +17,10 @@
"""RFC 2369 List-* and related headers."""
-__all__ = [
- 'RFC2369',
- ]
-
-
import logging
from email.utils import formataddr
+from mailman import public
from mailman.core.i18n import _
from mailman.handlers.cook_headers import uheader
from mailman.interfaces.archiver import ArchivePolicy
@@ -38,7 +34,6 @@ CONTINUATION = ',\n\t'
log = logging.getLogger('mailman.archiver')
-
def process(mlist, msg, msgdata):
"""Add the RFC 2369 List-* and related headers."""
# Some people really hate the List-* headers. It seems that the free
@@ -126,7 +121,7 @@ def process(mlist, msg, msgdata):
msg[h] = v
-
+@public
@implementer(IHandler)
class RFC2369:
"""Add the RFC 2369 List-* headers."""