diff options
Diffstat (limited to 'src/mailman/interfaces/archiver.py')
| -rw-r--r-- | src/mailman/interfaces/archiver.py | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/src/mailman/interfaces/archiver.py b/src/mailman/interfaces/archiver.py index f24e44183..a06bbdede 100644 --- a/src/mailman/interfaces/archiver.py +++ b/src/mailman/interfaces/archiver.py @@ -22,12 +22,10 @@ from __future__ import absolute_import, unicode_literals __metaclass__ = type __all__ = [ 'IArchiver', - 'IPipermailMailingList', ] from zope.interface import Interface, Attribute -from mailman.interfaces.mailinglist import IMailingList @@ -43,36 +41,25 @@ class IArchiver(Interface): :returns: The url string. """ - def permalink(mlist, message): + def permalink(mlist, msg): """Return the url to the message in the archive. This url points directly to the message in the archive. This method only calculates the url, it does not actually archive the message. :param mlist: The IMailingList object. - :param message: The message object. + :param msg: The message object. :returns: The url string or None if the message's archive url cannot be calculated. """ - def archive_message(mlist, message): + def archive_message(mlist, msg): """Send the message to the archiver. :param mlist: The IMailingList object. - :param message: The message object. + :param msg: The message object. :returns: The url string or None if the message's archive url cannot be calculated. """ # XXX How to handle attachments? - - - -class IPipermailMailingList(IMailingList): - """An interface that adapts IMailingList as needed for Pipermail.""" - - def archive_dir(): - """The directory for storing Pipermail artifacts. - - Pipermail expects this to be a function, not a property. - """ |
