From eec5bcf9cd082fc66439c30a8c361973fd530a9c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 20 Jul 2018 11:33:28 -0400 Subject: [PATCH] Support default for numeric_data numeric_data entries have default as an attribute, support this location for default Change-Id: I23f8bc23f55e804100e2816536f7d33855fa61d6 --- pyghmi/ipmi/oem/lenovo/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyghmi/ipmi/oem/lenovo/config.py b/pyghmi/ipmi/oem/lenovo/config.py index 6e30d918..667a325d 100644 --- a/pyghmi/ipmi/oem/lenovo/config.py +++ b/pyghmi/ipmi/oem/lenovo/config.py @@ -299,6 +299,7 @@ class LenovoFirmwareConfig(object): protect = True # not supported yet else: current = instance.text + default = onedata.get('default', None) if (setting.find('cmd_data') is not None or setting.find('boolean_data') is not None): protect = True # Hide currently unsupported settings