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

afa at codespeak.net afa at codespeak.net
Tue Nov 16 20:58:29 CET 2010


Author: afa
Date: Tue Nov 16 20:58:27 2010
New Revision: 79165

Modified:
   pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py
Log:
Translation fix


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 Nov 16 20:58:27 2010
@@ -671,7 +671,7 @@
                 if not e.match(space, space.gettypeobject(
                     W_BlockingIOError.typedef)):
                     raise
-                w_exc = space.get_w_value(space)
+                w_exc = e.get_w_value(space)
                 assert isinstance(w_exc, W_BlockingIOError)
                 if self.readable:
                     self._reader_reset_buf()



More information about the Pypy-commit mailing list