diff options
| author | Barry Warsaw | 2008-06-14 16:02:01 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-06-14 16:02:01 -0400 |
| commit | 3d192123461559445bd7e68ef163828bb51852e6 (patch) | |
| tree | 55c516c6ee7bb51475e665e0ac181714b3e3e9f3 /mailman/pipeline/scrubber.py | |
| parent | 67e437883d520bf7ea78ae55235892aa946ef0b4 (diff) | |
| download | mailman-3d192123461559445bd7e68ef163828bb51852e6.tar.gz mailman-3d192123461559445bd7e68ef163828bb51852e6.tar.zst mailman-3d192123461559445bd7e68ef163828bb51852e6.zip | |
start of archiving work
Diffstat (limited to 'mailman/pipeline/scrubber.py')
| -rw-r--r-- | mailman/pipeline/scrubber.py | 4 |
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. |
