summaryrefslogtreecommitdiff
path: root/src/mailman/interfaces/archiver.py
diff options
context:
space:
mode:
authorAurélien Bompard2015-07-05 02:11:51 +0200
committerAurélien Bompard2015-07-05 02:11:51 +0200
commita432a529b9636dee5ceee0c98f1e86db0d27a8cf (patch)
tree5dce51b66e6594d2c9754d4956a364ce0b7b0dc5 /src/mailman/interfaces/archiver.py
parent8d446e962b7fb66c235db59a819aca3c34acdcb0 (diff)
downloadmailman-a432a529b9636dee5ceee0c98f1e86db0d27a8cf.tar.gz
mailman-a432a529b9636dee5ceee0c98f1e86db0d27a8cf.tar.zst
mailman-a432a529b9636dee5ceee0c98f1e86db0d27a8cf.zip
Diffstat (limited to 'src/mailman/interfaces/archiver.py')
-rw-r--r--src/mailman/interfaces/archiver.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman/interfaces/archiver.py b/src/mailman/interfaces/archiver.py
index 1aa4574e7..b17e43d6e 100644
--- a/src/mailman/interfaces/archiver.py
+++ b/src/mailman/interfaces/archiver.py
@@ -53,6 +53,8 @@ class IArchiver(Interface):
def list_url(mlist):
"""Return the url to the top of the list's archive.
+ If the archiver is not web-accessible, return None.
+
:param mlist: The IMailingList object.
:returns: The url string.
"""
@@ -63,6 +65,8 @@ class IArchiver(Interface):
This url points directly to the message in the archive. This method
only calculates the url, it does not actually archive the message.
+ If the archiver is not web-accessible, return None.
+
:param mlist: The IMailingList object.
:param msg: The message object.
:returns: The url string or None if the message's archive url cannot