Update of /cvsroot/mailman/mailman/Mailman
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6870

Modified Files:
      Tag: Release_2_1-maint
        Message.py 
Log Message:
Add TypeError for possible error when checking charset availablity.


Index: Message.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Message.py,v
retrieving revision 2.25.2.3
retrieving revision 2.25.2.4
diff -u -d -r2.25.2.3 -r2.25.2.4
--- Message.py  22 Apr 2005 00:34:11 -0000      2.25.2.3
+++ Message.py  25 Apr 2005 04:48:02 -0000      2.25.2.4
@@ -202,7 +202,7 @@
         # Check if charset is supported.
         try:
             unicode('x', charset)
-        except (LookupError, ValueError):
+        except (LookupError, ValueError, TypeError):
             return failobj
         return charset
 

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to