summaryrefslogtreecommitdiff
path: root/Mailman/Message.py
diff options
context:
space:
mode:
authormsapiro2006-03-06 18:25:02 +0000
committermsapiro2006-03-06 18:25:02 +0000
commit28f4814c0c785e40eed7f93c81004f5c29836227 (patch)
tree40fbbabf328fdfca645b1236fba246d0736fe2de /Mailman/Message.py
parent187a92d7c5e18fb992f5a951075d4053519016c3 (diff)
downloadmailman-28f4814c0c785e40eed7f93c81004f5c29836227.tar.gz
mailman-28f4814c0c785e40eed7f93c81004f5c29836227.tar.zst
mailman-28f4814c0c785e40eed7f93c81004f5c29836227.zip
Diffstat (limited to 'Mailman/Message.py')
-rw-r--r--Mailman/Message.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/Mailman/Message.py b/Mailman/Message.py
index bdf7e7185..bba484219 100644
--- a/Mailman/Message.py
+++ b/Mailman/Message.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
@@ -199,17 +199,6 @@ class Message(email.Message.Message):
except (UnicodeError, LookupError, ValueError):
return failobj
- def set_payload(self, payload, charset=None):
- """Set the payload to the given value (Override email package).
- Payload is converted to a MIME message body when this is called.
- """
- email.Message.Message.set_payload(self, payload, charset)
- if self.get('content-transfer-encoding') in \
- ('quoted-printable', 'base64'):
- cset = self.get_charset()
- if cset:
- self._payload = cset.body_encode(self._payload)
- self._charset = None
class UserNotification(Message):