summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/after_delivery.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/handlers/after_delivery.py')
-rw-r--r--src/mailman/handlers/after_delivery.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mailman/handlers/after_delivery.py b/src/mailman/handlers/after_delivery.py
index a964804b5..0a3ba2c75 100644
--- a/src/mailman/handlers/after_delivery.py
+++ b/src/mailman/handlers/after_delivery.py
@@ -17,7 +17,7 @@
"""Perform some bookkeeping after a successful post."""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
@@ -25,7 +25,7 @@ __all__ = [
]
-from zope.interface import implements
+from zope.interface import implementer
from mailman.core.i18n import _
from mailman.interfaces.handler import IHandler
@@ -33,11 +33,10 @@ from mailman.utilities.datetime import now
+@implementer(IHandler)
class AfterDelivery:
"""Perform some bookkeeping after a successful post."""
- implements(IHandler)
-
name = 'after-delivery'
description = _('Perform some bookkeeping after a successful post.')