2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-27 19:37:44 +00:00

Skip empty firmware values

Some select configurations may induce
a null firmware entry.  Disregard such entries.

Change-Id: I5eea54b8d836aa2fb0c0b6f8d87b45c39bb28534
This commit is contained in:
Jarrod Johnson 2019-04-04 13:17:17 -04:00
parent eb7869bfa7
commit 02b78e2251

View File

@ -492,6 +492,8 @@ class IMMClient(object):
if fname in donenames:
# ignore redundant entry
continue
if not fname:
continue
donenames.add(fname)
bdata = {}
if 'versionStr' in firm and firm['versionStr']: