Commits

Philip Jenvey committed c542152

forgot the space arg

  • Participants
  • Parent commits 1370dfe
  • Branches py3k

Comments (0)

Files changed (1)

pypy/module/_io/interp_textio.py

         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
         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(