hgext/patchbomb.py
changeset 3468 0e68608bd11d
parent 3291 0b5d626b354e
child 3876 ff49da8bd6ae
child 3886 abaee83ce0a6
child 4027 2601ac9c54f0
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -195,7 +195,7 @@ def patchbomb(ui, repo, *revs, **opts):
 
     ui.write(_('This patch series consists of %d patches.\n\n') % len(patches))
 
-    for p, i in zip(patches, range(len(patches))):
+    for p, i in zip(patches, xrange(len(patches))):
         jumbo.extend(p)
         msgs.append(makepatch(p, i + 1, len(patches)))