From a1eff6d6109ab455b3348a8d8978586772d8c609 Mon Sep 17 00:00:00 2001 From: msapiro <> Date: Mon, 28 Nov 2005 18:52:57 +0000 Subject: One more little change. One day I'll learn not to commit until I'm REALLY done. --- Mailman/Handlers/MimeDel.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Mailman/Handlers') 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 -- cgit v1.2.3