mirror of
https://opendev.org/x/pyghmi
synced 2025-07-21 19:51:12 +00:00
Support default for numeric_data
numeric_data entries have default as an attribute, support this location for default Change-Id: I23f8bc23f55e804100e2816536f7d33855fa61d6
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user