diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2019-02-18 09:43:12 -0600 |
---|---|---|
committer | Matthew Barth <msbarth@us.ibm.com> | 2019-02-18 09:46:13 -0600 |
commit | 64099cdbe82a2aa429f0861e49ec675801b77ae0 (patch) | |
tree | e80cafd9d4b9e9a7ea3d0164648ac7ececc0fe60 /control/gen-fan-zone-defs.py | |
parent | 7883f58ab2edf8d9f8882463a68f50bef6f49013 (diff) | |
download | phosphor-fan-presence-64099cdbe82a2aa429f0861e49ec675801b77ae0.tar.gz phosphor-fan-presence-64099cdbe82a2aa429f0861e49ec675801b77ae0.zip |
Fix: srcrev bump 4b258ac8b6..7883f58ab2
Add missed python variable initialization causing srcrev bump fail
Failed srcrev bump:
https://gerrit.openbmc-project.xyz/18414
Change-Id: I0d7d4647abe3c2f46cabfebf6be5ab500641f504
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/gen-fan-zone-defs.py')
-rwxr-xr-x | control/gen-fan-zone-defs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/control/gen-fan-zone-defs.py b/control/gen-fan-zone-defs.py index 7db3d95..e875e32 100755 --- a/control/gen-fan-zone-defs.py +++ b/control/gen-fan-zone-defs.py @@ -810,6 +810,7 @@ def buildZoneData(zone_data, fan_data, events_data, zone_conditions_data): profiles = z['cooling_profiles'] # 'interfaces' is optional (no default) + ifaces = [] if ('interfaces' in z) and \ (z['interfaces'] is not None): ifaces = getIfacesInZone(z['interfaces']) |