[pypy-svn] r78307 - pypy/branch/fast-forward/pypy/module/_io

afa at codespeak.net afa at codespeak.net
Tue Oct 26 17:57:45 CEST 2010


Author: afa
Date: Tue Oct 26 17:57:42 2010
New Revision: 78307

Modified:
   pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py
Log:
Fix translation


Modified: pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py	(original)
+++ pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py	Tue Oct 26 17:57:42 2010
@@ -486,7 +486,7 @@
             written = 0
             while remaining > self.buffer_size:
                 try:
-                    n = self._write(space, data[written:size - written])
+                    n = self._write(space, data[written:])
                 except OperationError, e:
                     if not e.match(space, space.gettypeobject(
                         W_BlockingIOError.typedef)):



More information about the Pypy-commit mailing list