From f579d5c290b80e00974e8c034f9d6dd697fcdfa6 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sun, 30 Nov 2008 20:30:43 -0800 Subject: Now that Python 2.4 is the minimum and we will use more recent installed email packages, convert all the email message get_type() calls to get_content_type(). --- Mailman/Handlers/Decorate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mailman/Handlers/Decorate.py') diff --git a/Mailman/Handlers/Decorate.py b/Mailman/Handlers/Decorate.py index 81bf7d33..fa6c3a80 100644 --- a/Mailman/Handlers/Decorate.py +++ b/Mailman/Handlers/Decorate.py @@ -130,7 +130,7 @@ def process(mlist, msg, msgdata): wrap = False except (LookupError, UnicodeError): pass - elif msg.get_type() == 'multipart/mixed': + elif msg.get_content_type() == 'multipart/mixed': # The next easiest thing to do is just prepend the header and append # the footer as additional subparts payload = msg.get_payload() -- cgit v1.2.3