Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r44618:52a2ea0c085c Date: 2011-06-01 11:08 +0000 http://bitbucket.org/pypy/pypy/changeset/52a2ea0c085c/
Log: Translation fixes. diff --git a/pypy/module/bz2/interp_bz2.py b/pypy/module/bz2/interp_bz2.py --- a/pypy/module/bz2/interp_bz2.py +++ b/pypy/module/bz2/interp_bz2.py @@ -375,7 +375,7 @@ elif whence == 0: pass else: - raise operationerrfmt(space.w_ValueError, + raise operationerrfmt(self.space.w_ValueError, "Invalid value for whence: %d", whence) # Make offset relative to the current pos @@ -402,8 +402,6 @@ break read += length - return self.readlength - def readall(self): w_result = self.decompressor.decompress(self.stream.readall()) if self.decompressor.running: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit