summaryrefslogtreecommitdiff
path: root/mailman/interfaces/archiver.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-06-14 16:02:01 -0400
committerBarry Warsaw2008-06-14 16:02:01 -0400
commit3d192123461559445bd7e68ef163828bb51852e6 (patch)
tree55c516c6ee7bb51475e665e0ac181714b3e3e9f3 /mailman/interfaces/archiver.py
parent67e437883d520bf7ea78ae55235892aa946ef0b4 (diff)
downloadmailman-3d192123461559445bd7e68ef163828bb51852e6.tar.gz
mailman-3d192123461559445bd7e68ef163828bb51852e6.tar.zst
mailman-3d192123461559445bd7e68ef163828bb51852e6.zip
Diffstat (limited to 'mailman/interfaces/archiver.py')
-rw-r--r--mailman/interfaces/archiver.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/mailman/interfaces/archiver.py b/mailman/interfaces/archiver.py
index 3b96c5c53..40b05b76c 100644
--- a/mailman/interfaces/archiver.py
+++ b/mailman/interfaces/archiver.py
@@ -24,14 +24,14 @@ from zope.interface import Interface, Attribute
class IArchiver(Interface):
"""An interface to the archiver."""
- def get_list_url(mlist):
+ def list_url(mlist):
"""Return the url to the top of the list's archive.
:param mlist: The IMailingList object.
:returns: The url string.
"""
- def get_message_url(mlist, message):
+ def permalink(mlist, message):
"""Return the url to the message in the archive.
This url points directly to the message in the archive. This method
@@ -46,9 +46,6 @@ class IArchiver(Interface):
def archive_message(mlist, message):
"""Send the message to the archiver.
- This uses `get_message_url()` to calculate and return the url to the
- message in the archives.
-
:param mlist: The IMailingList object.
:param message: The message object.
:returns: The url string or None if the message's archive url cannot