summaryrefslogtreecommitdiffstats
path: root/control
diff options
context:
space:
mode:
Diffstat (limited to 'control')
-rwxr-xr-xcontrol/gen-fan-zone-defs.py1
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'])
OpenPOWER on IntegriCloud