aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Archiver/HyperArch.py
diff options
context:
space:
mode:
authortkikuchi <>2006-01-29 05:12:26 +0000
committertkikuchi <>2006-01-29 05:12:26 +0000
commitd29d50fa39e93dc4faeeb97ad18f3d60abe4b2e8 (patch)
tree73f8e820815f5ae5a7d7b386c86d79ec5fe4cabc /Mailman/Archiver/HyperArch.py
parentaeaa447be7a74887c2b8264aea10172131672386 (diff)
downloadmailman2-d29d50fa39e93dc4faeeb97ad18f3d60abe4b2e8.tar.gz
mailman2-d29d50fa39e93dc4faeeb97ad18f3d60abe4b2e8.tar.xz
mailman2-d29d50fa39e93dc4faeeb97ad18f3d60abe4b2e8.zip
Back out Revision 2.18.2.19 patch for email.Message.set_payload() bug
because it is overwrapped in Mailman.Message.
Diffstat (limited to 'Mailman/Archiver/HyperArch.py')
-rw-r--r--Mailman/Archiver/HyperArch.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index bd3802bc..0245f21b 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2005 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -304,12 +304,7 @@ class Article(pipermail.Article):
if charset[0]=="'" and charset[-1]=="'":
charset = charset[1:-1]
try:
- # Check Scrubber-munged payload
- if message.get('x-mailman-scrubbed'):
- decode = False
- else:
- decode = True
- body = message.get_payload(decode=decode)
+ body = message.get_payload(decode=True)
except binascii.Error:
body = None
if body and charset != Utils.GetCharSet(self._lang):