summaryrefslogtreecommitdiff
path: root/Mailman/Bouncers/GroupWise.py
diff options
context:
space:
mode:
authortkikuchi2006-03-07 12:43:13 +0000
committertkikuchi2006-03-07 12:43:13 +0000
commitb012e026bd55fd6c2d629789fb6f4c5893142f2b (patch)
tree89d34464c589f766eeee4b3a7d3b322cb9fb98ef /Mailman/Bouncers/GroupWise.py
parent2dfa8367df0c34d3c4ba779d0911e8f50d631bce (diff)
downloadmailman-b012e026bd55fd6c2d629789fb6f4c5893142f2b.tar.gz
mailman-b012e026bd55fd6c2d629789fb6f4c5893142f2b.tar.zst
mailman-b012e026bd55fd6c2d629789fb6f4c5893142f2b.zip
Diffstat (limited to 'Mailman/Bouncers/GroupWise.py')
-rw-r--r--Mailman/Bouncers/GroupWise.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Bouncers/GroupWise.py b/Mailman/Bouncers/GroupWise.py
index 7ef312562..eb4075f1d 100644
--- a/Mailman/Bouncers/GroupWise.py
+++ b/Mailman/Bouncers/GroupWise.py
@@ -30,7 +30,7 @@ acre = re.compile(r'<(?P<addr>[^>]*)>')
def find_textplain(msg):
- if msg.get_type(msg.get_default_type()) == 'text/plain':
+ if msg.get_content_type() == 'text/plain':
return msg
if msg.is_multipart:
for part in msg.get_payload():
@@ -44,7 +44,7 @@ def find_textplain(msg):
def process(msg):
- if msg.get_type() <> 'multipart/mixed' or not msg['x-mailer']:
+ if msg.get_content_type() <> 'multipart/mixed' or not msg['x-mailer']:
return None
addrs = {}
# find the first text/plain part in the message