summaryrefslogtreecommitdiff
path: root/src/mailman/mta/null.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-04-25 22:08:22 -0400
committerBarry Warsaw2012-04-25 22:08:22 -0400
commit658fad42b04420962e6ac478247411ee77483d93 (patch)
treedb16a22376b7191910bf674304c847850169144f /src/mailman/mta/null.py
parent4488631dff02731ff03f2fef01ee27bbd944812b (diff)
downloadmailman-658fad42b04420962e6ac478247411ee77483d93.tar.gz
mailman-658fad42b04420962e6ac478247411ee77483d93.tar.zst
mailman-658fad42b04420962e6ac478247411ee77483d93.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