skipped_images None handling
skip the skipped_images loop when the combination is unknown, or when the skiplist is empty. Change-Id: Ia2dfbb1c80baeaa2eeb4720381e4da6c7b1c85af
This commit is contained in:
parent
695d4d603d
commit
317b1e0fc7
@ -979,9 +979,10 @@ class KollaWorker(object):
|
|||||||
|
|
||||||
skipped_images = SKIPPED_IMAGES.get('%s+%s' % (self.base,
|
skipped_images = SKIPPED_IMAGES.get('%s+%s' % (self.base,
|
||||||
self.install_type))
|
self.install_type))
|
||||||
for image in self.images:
|
if skipped_images:
|
||||||
if image.name in skipped_images:
|
for image in self.images:
|
||||||
image.status = STATUS_UNMATCHED
|
if image.name in skipped_images:
|
||||||
|
image.status = STATUS_UNMATCHED
|
||||||
|
|
||||||
def summary(self):
|
def summary(self):
|
||||||
"""Walk the dictionary of images statuses and print results."""
|
"""Walk the dictionary of images statuses and print results."""
|
||||||
|
Loading…
Reference in New Issue
Block a user