diff options
| author | Barry Warsaw | 2016-03-25 09:36:52 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-03-25 09:36:52 -0400 |
| commit | b9c06627e46ff1e9f09965228ab3b48f217109af (patch) | |
| tree | a600fa04dd2ac6d006b88aee2c5e605673629fa3 /src/mailman/handlers/avoid_duplicates.py | |
| parent | 49d630f2761175e404f3b1d811e61bc43eb6b25b (diff) | |
| download | mailman-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.py | 8 |
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.""" |
