[pypy-svn] r49294 - pypy/dist/pypy/rlib

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Dec 2 20:59:45 CET 2007


Author: cfbolz
Date: Sun Dec  2 20:59:44 2007
New Revision: 49294

Modified:
   pypy/dist/pypy/rlib/rope.py
Log:
off by one error


Modified: pypy/dist/pypy/rlib/rope.py
==============================================================================
--- pypy/dist/pypy/rlib/rope.py	(original)
+++ pypy/dist/pypy/rlib/rope.py	Sun Dec  2 20:59:44 2007
@@ -484,7 +484,7 @@
     twopower = node
     number = 1
     result = None
-    while number < times:
+    while number <= times:
         if number & times:
             if result is None:
                 result = twopower



More information about the Pypy-commit mailing list