Mercurial > hg
diff hgext/color.py @ 8624:2b3dec0ef3ae
replace xrange(0, n) with xrange(n)
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 25 May 2009 23:06:11 +0200 |
parents | 0c159aa7b329 |
children | 8ff65f7e3273 |
line wrap: on
line diff
--- a/hgext/color.py Mon May 25 22:54:16 2009 +0200 +++ b/hgext/color.py Mon May 25 23:06:11 2009 +0200 @@ -116,7 +116,7 @@ lines = lines_with_status # apply color to output and display it - for i in xrange(0, len(lines)): + for i in xrange(len(lines)): status = _status_abbreviations[lines_with_status[i][0]] effects = _status_effects[status] if effects: