Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r60951:c5421524b416
Date: 2013-02-07 20:03 -0800
http://bitbucket.org/pypy/pypy/changeset/c5421524b416/
Log: forgot the space arg
diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py
--- a/pypy/module/_io/interp_textio.py
+++ b/pypy/module/_io/interp_textio.py
@@ -809,7 +809,8 @@
self._check_closed(space)
if not self.seekable:
- self._unsupportedoperation("underlying stream is not seekable")
+ self._unsupportedoperation(space,
+ "underlying stream is not seekable")
if whence == 1:
# seek relative to current position
@@ -887,7 +888,8 @@
self._check_closed(space)
if not self.seekable:
- self._unsupportedoperation("underlying stream is not seekable")
+ self._unsupportedoperation(space,
+ "underlying stream is not seekable")
if not self.telling:
raise OperationError(space.w_IOError, space.wrap(
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit