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) |
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 b8c263c..c974be9 100755 --- a/kolla/image/build.py +++ b/kolla/image/build.py | |||
@@ -979,9 +979,10 @@ class KollaWorker(object): | |||
979 | 979 | ||
980 | skipped_images = SKIPPED_IMAGES.get('%s+%s' % (self.base, | 980 | skipped_images = SKIPPED_IMAGES.get('%s+%s' % (self.base, |
981 | self.install_type)) | 981 | self.install_type)) |
982 | for image in self.images: | 982 | if skipped_images: |
983 | if image.name in skipped_images: | 983 | for image in self.images: |
984 | image.status = STATUS_UNMATCHED | 984 | if image.name in skipped_images: |
985 | image.status = STATUS_UNMATCHED | ||
985 | 986 | ||
986 | def summary(self): | 987 | def summary(self): |
987 | """Walk the dictionary of images statuses and print results.""" | 988 | """Walk the dictionary of images statuses and print results.""" |