summaryrefslogtreecommitdiff
path: root/src/mailman/archiving/prototype.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-07-06 21:08:41 -0400
committerBarry Warsaw2012-07-06 21:08:41 -0400
commit8d8ab1655b51e277570005b445d3b014afcfbc57 (patch)
tree6ba0147d975636e129a787c9dfa64dae8cffae89 /src/mailman/archiving/prototype.py
parentcd3f84b301c2150fea5402129a2e7bc862fbb52b (diff)
parent01415190ab44e69a8f09a6411564a7cb288404e8 (diff)
downloadmailman-8d8ab1655b51e277570005b445d3b014afcfbc57.tar.gz
mailman-8d8ab1655b51e277570005b445d3b014afcfbc57.tar.zst
mailman-8d8ab1655b51e277570005b445d3b014afcfbc57.zip
Diffstat (limited to 'src/mailman/archiving/prototype.py')
-rw-r--r--src/mailman/archiving/prototype.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mailman/archiving/prototype.py b/src/mailman/archiving/prototype.py
index 453c6c770..3ce51ddb5 100644
--- a/src/mailman/archiving/prototype.py
+++ b/src/mailman/archiving/prototype.py
@@ -17,7 +17,7 @@
"""Prototypical permalinking archiver."""
-from __future__ import absolute_import, unicode_literals
+from __future__ import absolute_import, print_function, unicode_literals
__metaclass__ = type
__all__ = [
@@ -34,7 +34,7 @@ from mailbox import Maildir
from urlparse import urljoin
from flufl.lock import Lock, TimeOutError
-from zope.interface import implements
+from zope.interface import implementer
from mailman.config import config
from mailman.interfaces.archiver import IArchiver
@@ -43,6 +43,7 @@ log = logging.getLogger('mailman.error')
+@implementer(IArchiver)
class Prototype:
"""A prototype of a third party archiver.
@@ -50,8 +51,6 @@ class Prototype:
servers and archivers: <http://wiki.list.org/display/DEV/Stable+URLs>.
"""
- implements(IArchiver)
-
name = 'prototype'
@staticmethod