summaryrefslogtreecommitdiff
path: root/mailman/pipeline/scrubber.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-06-15 00:01:55 -0400
committerBarry Warsaw2008-06-15 00:01:55 -0400
commitee349897c99a75da4da4698c64bee8cd0d743d97 (patch)
treee2b00e3c9eb399d8dd77d6a60a30a996af57ed44 /mailman/pipeline/scrubber.py
parent67e437883d520bf7ea78ae55235892aa946ef0b4 (diff)
parent3d192123461559445bd7e68ef163828bb51852e6 (diff)
downloadmailman-ee349897c99a75da4da4698c64bee8cd0d743d97.tar.gz
mailman-ee349897c99a75da4da4698c64bee8cd0d743d97.tar.zst
mailman-ee349897c99a75da4da4698c64bee8cd0d743d97.zip
Diffstat (limited to 'mailman/pipeline/scrubber.py')
-rw-r--r--mailman/pipeline/scrubber.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/pipeline/scrubber.py b/mailman/pipeline/scrubber.py
index ca1fa37e0..bf6effd3a 100644
--- a/mailman/pipeline/scrubber.py
+++ b/mailman/pipeline/scrubber.py
@@ -40,7 +40,7 @@ from zope.interface import implements
from mailman import Utils
from mailman.Errors import DiscardMessage
-from mailman.app.archiving import get_primary_archiver
+from mailman.app.plugins import get_plugin
from mailman.configuration import config
from mailman.i18n import _
from mailman.interfaces import IHandler
@@ -497,7 +497,7 @@ def save_attachment(mlist, msg, dir, filter_html=True):
fp.write(decodedpayload)
fp.close()
# Now calculate the url to the list's archive.
- baseurl = get_primary_archiver(mlist).get_list_url()
+ baseurl = get_plugin('mailman.scrubber').list_url(mlist)
if not baseurl.endswith('/'):
baseurl += '/'
# Trailing space will definitely be a problem with format=flowed.