mercurial/patch.py
changeset 14494 1ffeeb91c55d
parent 14453 ea3d548132cc
child 14531 b88368a3ade4
--- a/mercurial/patch.py	Tue May 31 20:39:04 2011 -0500
+++ b/mercurial/patch.py	Wed Jun 01 12:38:46 2011 +0200
@@ -346,7 +346,7 @@
         return self.fp.readline()
 
     def __iter__(self):
-        while 1:
+        while True:
             l = self.readline()
             if not l:
                 break