aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/Scrubber.py
diff options
context:
space:
mode:
authortkikuchi <>2005-07-13 06:38:29 +0000
committertkikuchi <>2005-07-13 06:38:29 +0000
commit31559396f740d6c2bea564db473776e48b5f1b61 (patch)
treeb58f8c893590642906f1ae569c41d34ebfe54aa4 /Mailman/Handlers/Scrubber.py
parent3bbe434df3cdeae0585bd481334e52a154ade229 (diff)
downloadmailman2-31559396f740d6c2bea564db473776e48b5f1b61.tar.gz
mailman2-31559396f740d6c2bea564db473776e48b5f1b61.tar.xz
mailman2-31559396f740d6c2bea564db473776e48b5f1b61.zip
Backout last checkin. The fix was already coded in the following part. ^^;)
Diffstat (limited to '')
-rw-r--r--Mailman/Handlers/Scrubber.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Mailman/Handlers/Scrubber.py b/Mailman/Handlers/Scrubber.py
index 564d4f1a..24bb575f 100644
--- a/Mailman/Handlers/Scrubber.py
+++ b/Mailman/Handlers/Scrubber.py
@@ -284,9 +284,6 @@ Url: %(url)s
# will transform the url into a hyperlink.
elif part and not part.is_multipart():
payload = part.get_payload(decode=True)
- if type(payload) <> StringType:
- # What other type can this be ? Skip this.
- continue
ctype = part.get_type()
# XXX Under email 2.5, it is possible that payload will be None.
# This can happen when you have a Content-Type: multipart/* with