mercurial/lock.py
changeset 14494 1ffeeb91c55d
parent 13281 95de08ffa324
child 15583 926a06f7a353
--- a/mercurial/lock.py	Tue May 31 20:39:04 2011 -0500
+++ b/mercurial/lock.py	Wed Jun 01 12:38:46 2011 +0200
@@ -51,7 +51,7 @@
 
     def lock(self):
         timeout = self.timeout
-        while 1:
+        while True:
             try:
                 self.trylock()
                 return 1