summaryrefslogtreecommitdiffstats
path: root/git_config.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 /git_config.py
parent5566ae5ddea409279b13e538b513a73062862c3e (diff)
parenta6053d54f1178dc527b383844972c6077ee91a4e (diff)
downloadgit-repo-6287543e3508fbd3b92c975771c73e11fd4a5977.tar.gz
Merge "Change usages of xrange() to range()"
Diffstat (limited to 'git_config.py')
-rw-r--r--git_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_config.py b/git_config.py
index ea782a11..f60893ee 100644
--- a/git_config.py
+++ b/git_config.py
@@ -168,7 +168,7 @@ class GitConfig(object):
168 elif old != value: 168 elif old != value:
169 self._cache[key] = list(value) 169 self._cache[key] = list(value)
170 self._do('--replace-all', name, value[0]) 170 self._do('--replace-all', name, value[0])
171 for i in xrange(1, len(value)): 171 for i in range(1, len(value)):
172 self._do('--add', name, value[i]) 172 self._do('--add', name, value[i])
173 173
174 elif len(old) != 1 or old[0] != value: 174 elif len(old) != 1 or old[0] != value: