Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r50675:a2fe74325124
Date: 2011-12-18 19:43 +0100
http://bitbucket.org/pypy/pypy/changeset/a2fe74325124/

Log:    Fix translation

diff --git a/pypy/module/pyexpat/interp_pyexpat.py 
b/pypy/module/pyexpat/interp_pyexpat.py
--- a/pypy/module/pyexpat/interp_pyexpat.py
+++ b/pypy/module/pyexpat/interp_pyexpat.py
@@ -631,8 +631,7 @@
 Parse XML data from file-like object."""
         # XXX not the more efficient method
         w_data = space.call_method(w_file, 'read')
-        data = space.str_w(w_data)
-        return self.Parse(space, data, isfinal=True)
+        return self.Parse(space, w_data, isfinal=True)
 
     @unwrap_spec(base=str)
     def SetBase(self, space, base):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to