Merge "skipped_images None handling"

This commit is contained in:
Zuul 2018-08-07 13:17:04 +00:00 committed by Gerrit Code Review
commit e1919fc2a6
1 changed files with 4 additions and 3 deletions

View File

@ -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."""