[pypy-commit] pypy stdlib-2.7.3: oops

amauryfa noreply at buildbot.pypy.org
Fri Jun 15 00:44:47 CEST 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: stdlib-2.7.3
Changeset: r55675:f44735787025
Date: 2012-06-15 00:38 +0200
http://bitbucket.org/pypy/pypy/changeset/f44735787025/

Log:	oops

diff --git a/pypy/module/_io/interp_bufferedio.py b/pypy/module/_io/interp_bufferedio.py
--- a/pypy/module/_io/interp_bufferedio.py
+++ b/pypy/module/_io/interp_bufferedio.py
@@ -696,7 +696,7 @@
                 # Buffer as much as possible
                 for i in range(available):
                     self.buffer[self.write_end + i] = data[i]
-                    self.write_end += available
+                self.write_end += available
                 # Modifying the existing exception will will change
                 # e.characters_written but not e.args[2].  Therefore
                 # we just replace with a new error.


More information about the pypy-commit mailing list