summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/file_recipients.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/handlers/file_recipients.py')
-rw-r--r--src/mailman/handlers/file_recipients.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mailman/handlers/file_recipients.py b/src/mailman/handlers/file_recipients.py
index d087ff2bb..750357a90 100644
--- a/src/mailman/handlers/file_recipients.py
+++ b/src/mailman/handlers/file_recipients.py
@@ -17,7 +17,7 @@
"""Get the normal delivery recipients from a Sendmail style :include: file."""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
@@ -28,18 +28,17 @@ __all__ = [
import os
import errno
-from zope.interface import implements
+from zope.interface import implementer
from mailman.core.i18n import _
from mailman.interfaces.handler import IHandler
+@implementer(IHandler)
class FileRecipients:
"""Get the normal delivery recipients from an include file."""
- implements(IHandler)
-
name = 'file-recipients'
description = _('Get the normal delivery recipients from an include file.')