Fixes any() in an if statement build-py

Change-Id: I8aa7d7b876491a79eabda878b95729e3468921cd
Partially-Implements: blueprint build-script
This commit is contained in:
Sam Yaple 2015-08-27 11:26:07 +00:00
parent aada29b4db
commit 5fe9c059e0

View File

@ -385,9 +385,9 @@ class KollaWorker(object):
LOG.debug(name) LOG.debug(name)
def get_image_statuses(self): def get_image_statuses(self):
if any(self.image_statuses_bad, if any([self.image_statuses_bad,
self.image_statuses_good, self.image_statuses_good,
self.image_statuses_unmatched): self.image_statuses_unmatched]):
return (self.image_statuses_bad, return (self.image_statuses_bad,
self.image_statuses_good, self.image_statuses_good,
self.image_statuses_unmatched) self.image_statuses_unmatched)