[pypy-svn] r8709 - pypy/dist/pypy/lib
arigo at codespeak.net
arigo at codespeak.net
Sat Jan 29 14:19:09 CET 2005
Author: arigo
Date: Sat Jan 29 14:19:09 2005
New Revision: 8709
Modified:
pypy/dist/pypy/lib/_sio.py
Log:
bug fix.
Modified: pypy/dist/pypy/lib/_sio.py
==============================================================================
--- pypy/dist/pypy/lib/_sio.py (original)
+++ pypy/dist/pypy/lib/_sio.py Sat Jan 29 14:19:09 2005
@@ -597,8 +597,8 @@
assert not self.atcr
data = self.buf
self.buf = ""
- return data
- data = self.do_read(n)
+ else:
+ data = self.do_read(n)
# The following whole ugly mess is because we need to keep track of
# exactly which line separators we have seen for self.newlines,
More information about the Pypy-commit
mailing list