Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 3473: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 | abaee83ce0a6 ff49da8bd6ae 2601ac9c54f0 |
line wrap: on
line diff
--- a/hgext/patchbomb.py Thu Oct 19 14:03:41 2006 +0200 +++ b/hgext/patchbomb.py Thu Oct 19 14:16:51 2006 +0200 @@ -195,7 +195,7 @@ 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)))