summaryrefslogtreecommitdiff
path: root/src/mailman/mta/null.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-06-03 13:21:38 -0400
committerBarry Warsaw2012-06-03 13:21:38 -0400
commite1aa901fbdcc6d7fbb495a1d9ca1a5079008164a (patch)
tree9146fed874216bfb88707848568d7598ec2e8522 /src/mailman/mta/null.py
parent847409ba333375bd9c168e28f15748e58970404f (diff)
parent3c8a07fc76176a8ea89ee6b73aef571d0b2c81ed (diff)
downloadmailman-e1aa901fbdcc6d7fbb495a1d9ca1a5079008164a.tar.gz
mailman-e1aa901fbdcc6d7fbb495a1d9ca1a5079008164a.tar.zst
mailman-e1aa901fbdcc6d7fbb495a1d9ca1a5079008164a.zip
Diffstat (limited to 'src/mailman/mta/null.py')
-rw-r--r--src/mailman/mta/null.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/mta/null.py b/src/mailman/mta/null.py
index 6b2f76a1c..c94fa1015 100644
--- a/src/mailman/mta/null.py
+++ b/src/mailman/mta/null.py
@@ -20,7 +20,7 @@
Exim one example of an MTA that Just Works.
"""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
@@ -28,16 +28,16 @@ __all__ = [
]
-from zope.interface import implements
+from zope.interface import implementer
+
from mailman.interfaces.mta import IMailTransportAgentLifecycle
+@implementer(IMailTransportAgentLifecycle)
class NullMTA:
"""Null MTA that just satisfies the interface."""
- implements(IMailTransportAgentLifecycle)
-
def create(self, mlist):
"""See `IMailTransportAgentLifecycle`."""
pass