diff options
| author | Barry Warsaw | 2009-01-03 05:13:41 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-03 05:13:41 -0500 |
| commit | e5a96f14fb0fe8196e7b3ea0306c9f57f45c3110 (patch) | |
| tree | e456327300678100b6cc6dfa625c7bc31a9f34a4 /mailman/pipeline/cook_headers.py | |
| parent | c0522afd1754c7a18c40c9ebaa6c2ef406929170 (diff) | |
| download | mailman-e5a96f14fb0fe8196e7b3ea0306c9f57f45c3110.tar.gz mailman-e5a96f14fb0fe8196e7b3ea0306c9f57f45c3110.tar.zst mailman-e5a96f14fb0fe8196e7b3ea0306c9f57f45c3110.zip | |
Diffstat (limited to 'mailman/pipeline/cook_headers.py')
| -rw-r--r-- | mailman/pipeline/cook_headers.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mailman/pipeline/cook_headers.py b/mailman/pipeline/cook_headers.py index a37a92a69..18000e01a 100644 --- a/mailman/pipeline/cook_headers.py +++ b/mailman/pipeline/cook_headers.py @@ -216,9 +216,7 @@ def process(mlist, msg, msgdata): headers['List-Post'] = '<mailto:%s>' % mlist.posting_address # Add RFC 2369 and 5064 archiving headers, if archiving is enabled. if mlist.archive: - for archiver in get_plugins('mailman.archiver'): - if not archiver.is_enabled: - continue + for archiver in config.archivers: headers['List-Archive'] = '<%s>' % archiver.list_url(mlist) permalink = archiver.permalink(mlist, msg) if permalink is not None: |
