aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-08-14 20:24:48 +0000
committerGerrit Code Review <review@openstack.org>2015-08-14 20:24:48 +0000
commitda872733f1c159e7e2c79593cd9dd287cdba3bbd (patch)
tree8dd46f7f94e1cae9c89ce75e82eaaec0931994eb
parent9a78a5b6f1dc0d1189a7613a60472cb8608c7981 (diff)
parent67ce01fc625ace5ebef72951fdf59b63af0e9ea6 (diff)
downloadkolla-da872733f1c159e7e2c79593cd9dd287cdba3bbd.tar.gz
kolla-da872733f1c159e7e2c79593cd9dd287cdba3bbd.zip
Merge "Safely check for dictionary key presence"
-rwxr-xr-xtools/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build.py b/tools/build.py
index e0309c270..ac42cac2b 100755
--- a/tools/build.py
+++ b/tools/build.py
@@ -89,7 +89,7 @@ class WorkerThread(Thread):
image['status'] = "parent_error"
return
- if image['source']:
+ if 'source' in image:
self.process_source(image['source'], image['path'])
# Pull the latest image for the base distro only