summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/avoid_duplicates.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/avoid_duplicates.py
parent49d630f2761175e404f3b1d811e61bc43eb6b25b (diff)
downloadmailman-b9c06627e46ff1e9f09965228ab3b48f217109af.tar.gz
mailman-b9c06627e46ff1e9f09965228ab3b48f217109af.tar.zst
mailman-b9c06627e46ff1e9f09965228ab3b48f217109af.zip
Diffstat (limited to 'src/mailman/handlers/avoid_duplicates.py')
-rw-r--r--src/mailman/handlers/avoid_duplicates.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mailman/handlers/avoid_duplicates.py b/src/mailman/handlers/avoid_duplicates.py
index 139b2545f..59cb568de 100644
--- a/src/mailman/handlers/avoid_duplicates.py
+++ b/src/mailman/handlers/avoid_duplicates.py
@@ -23,12 +23,8 @@ has already received a copy, we either drop the message, add a duplicate
warning header, or pass it through, depending on the user's preferences.
"""
-__all__ = [
- 'AvoidDuplicates',
- ]
-
-
from email.utils import getaddresses, formataddr
+from mailman import public
from mailman.core.i18n import _
from mailman.interfaces.handler import IHandler
from zope.interface import implementer
@@ -37,7 +33,7 @@ from zope.interface import implementer
COMMASPACE = ', '
-
+@public
@implementer(IHandler)
class AvoidDuplicates:
"""If the user wishes it, do not send duplicates of the same message."""