Author: Justin Peel <notmuchtot...@gmail.com>
Branch: streamio-bufinput
Changeset: r46649:d1e68fa256d2
Date: 2011-08-19 14:27 -0600
http://bitbucket.org/pypy/pypy/changeset/d1e68fa256d2/

Log:    Added a return for when whence=2. All tests pass now.

diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py
--- a/pypy/rlib/streamio.py
+++ b/pypy/rlib/streamio.py
@@ -550,6 +550,7 @@
             self.do_seek(offset, 2)
             self.pos = 0
             self.buf = ""
+            return
             # We'll comment all of this for now unless someone really wants
             # something like it
             #try:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to