aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@easystack.cn>2016-01-05 19:57:15 +0800
committerWanlong Gao <wanlong.gao@easystack.cn>2016-01-05 20:29:02 +0800
commit7575ac4a4957ca7414a5bc7de3139608ccf3b44e (patch)
tree3038958cc5bfe28c7286efefdd41a58decb5f3eb /kolla
parent9f74f50969473edf60f9431f3db52568f17d3c95 (diff)
downloadkolla-7575ac4a4957ca7414a5bc7de3139608ccf3b44e.tar.gz
kolla-7575ac4a4957ca7414a5bc7de3139608ccf3b44e.zip
Use range() from six.moves
To improve consistency, use range() from six.moves TrivialFix Change-Id: I3bb67b2bb5bedbc5b46f70d7eeeca7f8b7872250
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/cmd/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolla/cmd/build.py b/kolla/cmd/build.py
index 7deb01891..476a8d2c3 100755
--- a/kolla/cmd/build.py
+++ b/kolla/cmd/build.py
@@ -134,7 +134,7 @@ class WorkerThread(Thread):
while True:
try:
image = self.queue.get()
- for _ in range(self.conf.retries + 1):
+ for _ in six.moves.range(self.conf.retries + 1):
self.builder(image)
if image['status'] in ['built', 'unmatched',
'parent_error']: