diff options
| author | bwarsaw | 2001-12-19 07:01:49 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-12-19 07:01:49 +0000 |
| commit | 30cce8396d32989cf72c1828fcbd994265928325 (patch) | |
| tree | a11c385ff6a8e1048bc354e1b9b9e9b055f8f9f2 | |
| parent | dd60f2ecbe558000268076a9de4eb474d365a0a5 (diff) | |
| download | mailman-30cce8396d32989cf72c1828fcbd994265928325.tar.gz mailman-30cce8396d32989cf72c1828fcbd994265928325.tar.zst mailman-30cce8396d32989cf72c1828fcbd994265928325.zip | |
process(): Simplify the calculation of the List-Archive: header.
| -rw-r--r-- | Mailman/Handlers/CookHeaders.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py index 5a7c41939..d3ebffd9d 100644 --- a/Mailman/Handlers/CookHeaders.py +++ b/Mailman/Handlers/CookHeaders.py @@ -18,7 +18,6 @@ """ import re -import urlparse import email.Utils @@ -165,6 +164,4 @@ def process(mlist, msg, msgdata): # actually archiving del msg['list-archive'] if mlist.archive: - value = '<%s>' % urlparse.urljoin(mlist.web_page_url, - mlist.GetBaseArchiveURL()) - msg['List-Archive'] = value + msg['List-Archive'] = mlist.GetBaseArchiveURL() |
