diff options
| author | Zuul <zuul@review.openstack.org> | 2018-08-07 13:17:04 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2018-08-07 13:17:04 +0000 |
| commit | e1919fc2a69f6b2c5e228c8e6be032825f495e0f (patch) | |
| tree | 832327da2442dac9ecd30b6cab55f380a21b4cd8 | |
| parent | a917eb7166fcec88c64c4e6d6f8018c967a9940e (diff) | |
| parent | 317b1e0fc7efad423dbdb91861d17a227d08b860 (diff) | |
| download | kolla-e1919fc2a69f6b2c5e228c8e6be032825f495e0f.tar.gz kolla-e1919fc2a69f6b2c5e228c8e6be032825f495e0f.zip | |
Merge "skipped_images None handling"
| -rwxr-xr-x | kolla/image/build.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py index b8c263c2c..c974be9e8 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py @@ -979,9 +979,10 @@ class KollaWorker(object): skipped_images = SKIPPED_IMAGES.get('%s+%s' % (self.base, self.install_type)) - for image in self.images: - if image.name in skipped_images: - image.status = STATUS_UNMATCHED + if skipped_images: + for image in self.images: + if image.name in skipped_images: + image.status = STATUS_UNMATCHED def summary(self): """Walk the dictionary of images statuses and print results.""" |
