From 64099cdbe82a2aa429f0861e49ec675801b77ae0 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Mon, 18 Feb 2019 09:43:12 -0600 Subject: 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 --- control/gen-fan-zone-defs.py | 1 + 1 file changed, 1 insertion(+) (limited to 'control') 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']) -- cgit v1.2.1