summaryrefslogtreecommitdiff
path: root/mailman/pipeline/decorate.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-01-16 21:16:43 -0500
committerBarry Warsaw2009-01-16 21:16:43 -0500
commit0c996b693d1cc68d864acc313ba919197717a413 (patch)
treeb3fb5b5a6c5c52056bd8324f9ac8a6bf1a0e13b5 /mailman/pipeline/decorate.py
parentae3d0cc316b826b8325507d960ccf84da601c3b0 (diff)
downloadmailman-0c996b693d1cc68d864acc313ba919197717a413.tar.gz
mailman-0c996b693d1cc68d864acc313ba919197717a413.tar.zst
mailman-0c996b693d1cc68d864acc313ba919197717a413.zip
Diffstat (limited to 'mailman/pipeline/decorate.py')
-rw-r--r--mailman/pipeline/decorate.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mailman/pipeline/decorate.py b/mailman/pipeline/decorate.py
index 82851fbf1..e1fa0c155 100644
--- a/mailman/pipeline/decorate.py
+++ b/mailman/pipeline/decorate.py
@@ -106,11 +106,11 @@ def process(mlist, msg, msgdata):
try:
oldpayload = unicode(msg.get_payload(decode=True), mcset)
del msg['content-transfer-encoding']
- frontsep = endsep = u''
+ frontsep = endsep = ''
if header and not header.endswith('\n'):
- frontsep = u'\n'
+ frontsep = '\n'
if footer and not oldpayload.endswith('\n'):
- endsep = u'\n'
+ endsep = '\n'
payload = header + frontsep + oldpayload + endsep + footer
# When setting the payload for the message, try various charset
# encodings until one does not produce a UnicodeError. We'll try