diff options
author | Barry Warsaw <barry@list.org> | 2008-12-01 23:25:33 -0500 |
---|---|---|
committer | Barry Warsaw <barry@list.org> | 2008-12-01 23:25:33 -0500 |
commit | 2da8819928e6b010eb6c9d34c71a4f9f0287af9b (patch) | |
tree | 7ad0054577c7e457a94ecec5cd55d0003c2c2f08 /Mailman/Handlers/Decorate.py | |
parent | 0e6f7c1fc99eb7e35c23695bca2c17e757baf514 (diff) | |
parent | f579d5c290b80e00974e8c034f9d6dd697fcdfa6 (diff) | |
download | mailman2-2da8819928e6b010eb6c9d34c71a4f9f0287af9b.tar.gz mailman2-2da8819928e6b010eb6c9d34c71a4f9f0287af9b.tar.xz mailman2-2da8819928e6b010eb6c9d34c71a4f9f0287af9b.zip |
Merge Mark's changes to complete the Python 2.6 compatibility.
Diffstat (limited to 'Mailman/Handlers/Decorate.py')
-rw-r--r-- | Mailman/Handlers/Decorate.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |