summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/tagger.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/handlers/tagger.py')
-rw-r--r--src/mailman/handlers/tagger.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mailman/handlers/tagger.py b/src/mailman/handlers/tagger.py
index 49e004a12..9d78372e6 100644
--- a/src/mailman/handlers/tagger.py
+++ b/src/mailman/handlers/tagger.py
@@ -17,7 +17,7 @@
"""Extract topics from the original mail message."""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
@@ -29,7 +29,7 @@ import re
import email.iterators
import email.parser
-from zope.interface import implements
+from zope.interface import implementer
from mailman.core.i18n import _
from mailman.interfaces.handler import IHandler
@@ -178,11 +178,10 @@ class _ForgivingParser(email.parser.HeaderParser):
+@implementer(IHandler)
class Tagger:
"""Tag messages with topic matches."""
- implements(IHandler)
-
name = 'tagger'
description = _('Tag messages with topic matches.')