aboutsummaryrefslogtreecommitdiff
path: root/kolla/image
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-14 09:49:05 +0000
committerGerrit Code Review <review@openstack.org>2016-09-14 09:49:05 +0000
commitafe4209bb23dc3e5dbe0b2a1e8057ef8e9fb58ac (patch)
treeb751badb81caf1ef85e638b913abf9448e9c12a3 /kolla/image
parent72b36949c749f397b174470159c0b1bf5387d030 (diff)
parentdd57e1df5ad3b55a942dd314e1b9e6efc905db1b (diff)
downloadkolla-afe4209bb23dc3e5dbe0b2a1e8057ef8e9fb58ac.tar.gz
kolla-afe4209bb23dc3e5dbe0b2a1e8057ef8e9fb58ac.zip
Merge "Add iter function to change list into iterator"
Diffstat (limited to 'kolla/image')
-rw-r--r--kolla/image/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index b400dbf9a..4f10a75d7 100644
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -868,7 +868,7 @@ class KollaWorker(object):
return
def list_children(images, ancestry):
- children = six.next(ancestry.values())
+ children = six.next(iter(ancestry.values()))
for image in images:
if image.status not in [STATUS_MATCHED]:
continue