Browse Source

Merge "skipped_images None handling"

tags/7.0.0.0rc1
Zuul 9 months ago
parent
commit
e1919fc2a6
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      kolla/image/build.py

+ 4
- 3
kolla/image/build.py View File

@@ -979,9 +979,10 @@ class KollaWorker(object):
979 979
 
980 980
         skipped_images = SKIPPED_IMAGES.get('%s+%s' % (self.base,
981 981
                                                        self.install_type))
982
-        for image in self.images:
983
-            if image.name in skipped_images:
984
-                image.status = STATUS_UNMATCHED
982
+        if skipped_images:
983
+            for image in self.images:
984
+                if image.name in skipped_images:
985
+                    image.status = STATUS_UNMATCHED
985 986
 
986 987
     def summary(self):
987 988
         """Walk the dictionary of images statuses and print results."""

Loading…
Cancel
Save