changeset 21752:e250a482478e stable

revlog: fix check-code error
author Matt Mackall <mpm@selenic.com>
date Sat, 14 Jun 2014 11:49:02 -0500
parents 4ab287c2d337
children c00822e0b8ea c27a37678508
files mercurial/revlog.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlog.py	Fri Jun 13 14:17:14 2014 -0500
+++ b/mercurial/revlog.py	Sat Jun 14 11:49:02 2014 -0500
@@ -919,7 +919,7 @@
 
         # preload the cache
         try:
-            while 1:
+            while True:
                 # ensure that the cache doesn't change out from under us
                 _cache = self._chunkcache
                 self._chunkraw(revs[0], revs[-1])