summaryrefslogtreecommitdiffstats
path: root/subcmds/stage.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-11-12 17:30:55 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-11-12 17:30:55 -0800
commit6287543e3508fbd3b92c975771c73e11fd4a5977 (patch)
treeba76a70bf31554c25c1d7b132bd3149aceb5c434 /subcmds/stage.py
parent5566ae5ddea409279b13e538b513a73062862c3e (diff)
parenta6053d54f1178dc527b383844972c6077ee91a4e (diff)
downloadgit-repo-6287543e3508fbd3b92c975771c73e11fd4a5977.tar.gz
Merge "Change usages of xrange() to range()"
Diffstat (limited to 'subcmds/stage.py')
-rw-r--r--subcmds/stage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/stage.py b/subcmds/stage.py
index 2ec48069..1ff85880 100644
--- a/subcmds/stage.py
+++ b/subcmds/stage.py
@@ -58,7 +58,7 @@ The '%prog' command stages files to prepare the next commit.
58 out.header(' %s', 'project') 58 out.header(' %s', 'project')
59 out.nl() 59 out.nl()
60 60
61 for i in xrange(0, len(all_projects)): 61 for i in range(len(all_projects)):
62 p = all_projects[i] 62 p = all_projects[i]
63 out.write('%3d: %s', i + 1, p.relpath + '/') 63 out.write('%3d: %s', i + 1, p.relpath + '/')
64 out.nl() 64 out.nl()