summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mailman/handlers/tests/test_rfc_2369.py2
-rw-r--r--src/mailman/interfaces/archiver.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mailman/handlers/tests/test_rfc_2369.py b/src/mailman/handlers/tests/test_rfc_2369.py
index dc622e528..5eac70244 100644
--- a/src/mailman/handlers/tests/test_rfc_2369.py
+++ b/src/mailman/handlers/tests/test_rfc_2369.py
@@ -34,6 +34,7 @@ from urllib.parse import urljoin
from zope.interface import implementer
+
@implementer(IArchiver)
class DummyArchiver:
"""An example archiver which does nothing but return URLs."""
@@ -55,6 +56,7 @@ class DummyArchiver:
return None
+
class TestRFC2369(unittest.TestCase):
"""Test the rfc_2369 handler."""
diff --git a/src/mailman/interfaces/archiver.py b/src/mailman/interfaces/archiver.py
index b17e43d6e..044ec5056 100644
--- a/src/mailman/interfaces/archiver.py
+++ b/src/mailman/interfaces/archiver.py
@@ -56,7 +56,7 @@ class IArchiver(Interface):
If the archiver is not web-accessible, return None.
:param mlist: The IMailingList object.
- :returns: The url string.
+ :returns: The url string or None.
"""
def permalink(mlist, msg):