From 162234d13d13817514fc47c7422191dfd8b73ec9 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 17 May 2014 10:45:30 -0700 Subject: Changed the fix for LP: #1316682 to not create a message that triggers Python issue 7970 rather than incorporating the fix for issue 7970 in our Generator subclass. --- Mailman/Handlers/WrapMessage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mailman/Handlers') diff --git a/Mailman/Handlers/WrapMessage.py b/Mailman/Handlers/WrapMessage.py index 9678f6fd..d6483e7f 100644 --- a/Mailman/Handlers/WrapMessage.py +++ b/Mailman/Handlers/WrapMessage.py @@ -67,6 +67,6 @@ def process(mlist, msg, msgdata): # Add the headers from CookHeaders. for k, v in msgdata['add_header'].items(): msg[k] = v - # And set the payload. - msg.set_payload(omsg.as_string()) + # And set the payload the way email parses it. + msg.set_payload([omsg]) -- cgit v1.2.3