diff options
| author | Barry Warsaw | 2010-10-08 17:17:34 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2010-10-08 17:17:34 -0400 |
| commit | 90814a40b82e559ebfa999df2121ba2e8e32500f (patch) | |
| tree | 072fe79321581fde129cc87e9656da855a42b270 /src/mailman/archiving/pipermail.py | |
| parent | 3643347f1c8548bc903e4a95a48a926cd07d307d (diff) | |
| download | mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.tar.gz mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.tar.zst mailman-90814a40b82e559ebfa999df2121ba2e8e32500f.zip | |
Fix the obvious errors identified by pyflakes. Skip false positives (mostly
due to _() interpolation) and a few other problems that did not have
immediately obvious fixes.
Diffstat (limited to '')
| -rw-r--r-- | src/mailman/archiving/pipermail.py | 3 |
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, |
