[pypy-svn] r48689 - pypy/dist/pypy/objspace/std
cfbolz at codespeak.net
cfbolz at codespeak.net
Wed Nov 14 20:36:28 CET 2007
Author: cfbolz
Date: Wed Nov 14 20:36:28 2007
New Revision: 48689
Modified:
pypy/dist/pypy/objspace/std/ropeobject.py
Log:
whoops, broken tests. sorry for this
Modified: pypy/dist/pypy/objspace/std/ropeobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/ropeobject.py (original)
+++ pypy/dist/pypy/objspace/std/ropeobject.py Wed Nov 14 20:36:28 2007
@@ -1051,10 +1051,9 @@
while 1:
try:
c = iter.next()
- i += 1
- w_char = W_RopeObject.PREBUILT[ord(char)]
+ w_char = W_RopeObject.PREBUILT[ord(c)]
if not space.is_true(space.contains(w_deletechars, w_char)):
- chars.append(table[ord(char)])
+ chars.append(table[ord(c)])
except StopIteration:
break
return W_RopeObject(rope.rope_from_charlist(chars))
More information about the Pypy-commit
mailing list