diff options
| author | Barry Warsaw | 2012-04-25 22:08:22 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2012-04-25 22:08:22 -0400 |
| commit | 658fad42b04420962e6ac478247411ee77483d93 (patch) | |
| tree | db16a22376b7191910bf674304c847850169144f /src/mailman/handlers/replybot.py | |
| parent | 4488631dff02731ff03f2fef01ee27bbd944812b (diff) | |
| download | mailman-658fad42b04420962e6ac478247411ee77483d93.tar.gz mailman-658fad42b04420962e6ac478247411ee77483d93.tar.zst mailman-658fad42b04420962e6ac478247411ee77483d93.zip | |
Diffstat (limited to 'src/mailman/handlers/replybot.py')
| -rw-r--r-- | src/mailman/handlers/replybot.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mailman/handlers/replybot.py b/src/mailman/handlers/replybot.py index 83aa40214..a25f4f30b 100644 --- a/src/mailman/handlers/replybot.py +++ b/src/mailman/handlers/replybot.py @@ -17,7 +17,7 @@ """Handler for automatic responses.""" -from __future__ import absolute_import, unicode_literals +from __future__ import absolute_import, print_function, unicode_literals __metaclass__ = type __all__ = [ @@ -28,7 +28,7 @@ __all__ = [ import logging from zope.component import getUtility -from zope.interface import implements +from zope.interface import implementer from mailman.core.i18n import _ from mailman.email.message import UserNotification @@ -44,11 +44,10 @@ log = logging.getLogger('mailman.error') +@implementer(IHandler) class Replybot: """Send automatic responses.""" - implements(IHandler) - name = 'replybot' description = _('Send automatic responses.') |
