[pypy-commit] pypy default: Translation fixes.
Armin Rigo
noreply at buildbot.pypy.org
Wed Jun 1 12:54:43 CEST 2011
Author: Armin Rigo <arigo at 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:
More information about the pypy-commit
mailing list