diff options
author | msapiro <> | 2005-11-28 18:52:57 +0000 |
---|---|---|
committer | msapiro <> | 2005-11-28 18:52:57 +0000 |
commit | a1eff6d6109ab455b3348a8d8978586772d8c609 (patch) | |
tree | 95b69baa669878171de902132d0992cc74eb8c7c /Mailman/Handlers | |
parent | 40c37149fa132a872e1d62cf91b7efee7325a079 (diff) | |
download | mailman2-a1eff6d6109ab455b3348a8d8978586772d8c609.tar.gz mailman2-a1eff6d6109ab455b3348a8d8978586772d8c609.tar.xz mailman2-a1eff6d6109ab455b3348a8d8978586772d8c609.zip |
One more little change. One day I'll learn not to commit until I'm REALLY done.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r-- | Mailman/Handlers/MimeDel.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Mailman/Handlers/MimeDel.py b/Mailman/Handlers/MimeDel.py index 2d5caa64..cf4ca6e8 100644 --- a/Mailman/Handlers/MimeDel.py +++ b/Mailman/Handlers/MimeDel.py @@ -211,13 +211,9 @@ def to_plaintext(msg): except OSError, e: if e.errno <> errno.ENOENT: raise # Now replace the payload of the subpart and twiddle the Content-Type: + del subpart['content-transfer-encoding'] subpart.set_payload(plaintext) subpart.set_type('text/plain') - try: - # not base64 or quoted-printable any more - subpart.replace_header('content-transfer-encoding', '8bit') - except KeyError: - pass changedp = 1 return changedp |