diff mercurial/revlog.py @ 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 4092d12ba18a
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])