Author: guido.van.rossum
Date: Tue Aug 28 00:31:36 2007
New Revision: 57578

Modified:
   python/branches/py3k/Lib/xmlrpclib.py
Log:
One further change.


Modified: python/branches/py3k/Lib/xmlrpclib.py
==============================================================================
--- python/branches/py3k/Lib/xmlrpclib.py       (original)
+++ python/branches/py3k/Lib/xmlrpclib.py       Tue Aug 28 00:31:36 2007
@@ -167,7 +167,7 @@
     # convert to 7-bit ascii if possible
     try:
         return string.decode("ascii")
-    except UnicodeError:
+    except (UnicodeError, TypeError):
         return string
 
 __version__ = "1.0.1"
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to