summaryrefslogtreecommitdiff
path: root/src/mailman/archiving/pipermail.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/archiving/pipermail.py')
-rw-r--r--src/mailman/archiving/pipermail.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/archiving/pipermail.py b/src/mailman/archiving/pipermail.py
index f4131b294..a6ccf1dbc 100644
--- a/src/mailman/archiving/pipermail.py
+++ b/src/mailman/archiving/pipermail.py
@@ -29,7 +29,6 @@ import os
import mailbox
import tempfile
-from cStringIO import StringIO
from zope.interface import implements
from zope.interface.interface import adapter_hooks
@@ -95,7 +94,7 @@ class Pipermail:
def list_url(mlist):
"""See `IArchiver`."""
if mlist.archive_private:
- url = mlist.script_url('private') + '/index.html'
+ return mlist.script_url('private') + '/index.html'
else:
return expand(config.archiver.pipermail.base_url,
dict(listname=mlist.fqdn_listname,