commit | c772b47a9430ba0aad6ea6b4bbfb941a52988c07 | [log] [tgz] |
---|---|---|
author | Charles P. Hofer <charles.hofer@ibm.com> | Wed Sep 20 16:02:48 2017 -0500 |
committer | Charles P. Hofer <charles.hofer@ibm.com> | Wed Sep 20 16:02:48 2017 -0500 |
tree | cb98c296e54886b4ef9a9ba67216d9655b71aef6 | |
parent | 55a14b9e0c27ef11ce454c61d4cc6bfa6408aa05 [diff] [blame] |
Fixed openbmc-sfw for associations Signed-off-by: Charles P. Hofer <charles.hofer@ibm.com>
diff --git a/openbmc-sfw b/openbmc-sfw index 4d13271..01289bc 100755 --- a/openbmc-sfw +++ b/openbmc-sfw
@@ -113,7 +113,7 @@ # Look for our the image with the given version in software for path in software: image = self.get_image(path) - if image_version == image['Version']: + if 'Version' in image and image_version == image['Version']: return path.split('/')[-1] time.sleep(15) return False