diff options
| author | Sam Yaple <sam@yaple.net> | 2015-08-27 11:26:07 +0000 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-08-27 11:26:07 +0000 |
| commit | 5fe9c059e0d73f10d3e76b61fcc81524adb3474d (patch) | |
| tree | 04087aa162fd77527883e4f63a0cc52b8e692e12 | |
| parent | aada29b4dbf65eae105a59389813e96418e33bf5 (diff) | |
| download | kolla-5fe9c059e0d73f10d3e76b61fcc81524adb3474d.tar.gz kolla-5fe9c059e0d73f10d3e76b61fcc81524adb3474d.zip | |
Fixes any() in an if statement build-py
Change-Id: I8aa7d7b876491a79eabda878b95729e3468921cd
Partially-Implements: blueprint build-script
| -rwxr-xr-x | kolla/cmd/build.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kolla/cmd/build.py b/kolla/cmd/build.py index d7d7c12e0..68bba6132 100755 --- a/kolla/cmd/build.py +++ b/kolla/cmd/build.py @@ -385,9 +385,9 @@ class KollaWorker(object): LOG.debug(name) def get_image_statuses(self): - if any(self.image_statuses_bad, - self.image_statuses_good, - self.image_statuses_unmatched): + if any([self.image_statuses_bad, + self.image_statuses_good, + self.image_statuses_unmatched]): return (self.image_statuses_bad, self.image_statuses_good, self.image_statuses_unmatched) |
