revlog: fix check-code error stable
authorMatt Mackall <mpm@selenic.com>
Sat, 14 Jun 2014 11:49:02 -0500
branchstable
changeset 21752 e250a482478e
parent 21750 4ab287c2d337
child 21757 c00822e0b8ea
child 21758 c27a37678508
revlog: fix check-code error
mercurial/revlog.py
--- 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])