mercurial/patch.py
changeset 3473 0e68608bd11d
parent 3465 2d35a8d2b32d
child 3554 da3ee7ca620f
--- a/mercurial/patch.py	Thu Oct 19 14:03:41 2006 +0200
+++ b/mercurial/patch.py	Thu Oct 19 14:16:51 2006 +0200
@@ -220,7 +220,7 @@
     tmpfp = os.fdopen(fd, 'w')
 
     try:
-        for i in range(len(gitpatches)):
+        for i in xrange(len(gitpatches)):
             p = gitpatches[i]
             if not p.copymod and not p.binary:
                 continue