Update of /cvsroot/mailman/mailman/Mailman
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28366
Modified Files:
Tag: Release_2_1-maint
Message.py
Log Message:
get_content_charset() should return failobj on error.
Index: Message.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Message.py,v
retrieving revision 2.25.2.1
retrieving revision 2.25.2.2
diff -u -d -r2.25.2.1 -r2.25.2.2
--- Message.py 31 Mar 2003 21:49:38 -0000 2.25.2.1
+++ Message.py 21 Apr 2005 04:30:36 -0000 2.25.2.2
@@ -188,6 +188,15 @@
authors.append(address)
return authors
+ def get_content_charset(self, failobj=None):
+ """email.Message.Message.get_content_charset() should return failobj
+ on error.
+ """
+ try:
+ return email.Message.Message.get_content_charset(self, failobj)
+ except:
+ return failobj
+
class UserNotification(Message):
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org