diff hgext/patchbomb.py @ 3468:0e68608bd11d

use xrange instead of range
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 19 Oct 2006 14:16:51 +0200
parents 0b5d626b354e
children ff49da8bd6ae abaee83ce0a6 2601ac9c54f0
line wrap: on
line diff
--- 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)))