commit | d38d078566c7aaf9c9f2cf65abc9bfe106187ba5 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sun Jul 29 02:56:27 2007 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sun Jul 29 02:56:27 2007 +0000 |
tree | b4951cc15052353bff81765f75bc688df79455c8 | |
parent | 48f4cf9b946b26faf3a7239fdf4bfb0f2498a966 [diff] |
Expat parser no longer has a returns_unicode attribute since everything is Unicode now.
diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py index 9a345ae..2b3f1db 100644 --- a/Lib/xmlrpclib.py +++ b/Lib/xmlrpclib.py
@@ -485,8 +485,6 @@ parser.EndElementHandler = target.end parser.CharacterDataHandler = target.data encoding = None - if not parser.returns_unicode: - encoding = "utf-8" target.xml(encoding, None) def feed(self, data):