Mercurial > public > mercurial-scm > hg
diff mercurial/util.py @ 8631:a87c41f65aff
util: simplify range expression
The n index variable was unused. Every iteration would pop one element
off of parts, so the for loop can be replaced with a while loop.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 26 May 2009 22:37:26 +0200 |
parents | 573734e7e6d0 |
children | c5f36402daad |
line wrap: on
line diff