mirror of
https://opendev.org/x/pyghmi
synced 2026-04-01 15:53:32 +00:00
Fix setting instanced config on XCC
XCC has some numeric data that must be forced to str for XML. Change-Id: I86fed505d80d53b3ce3b4db33af678d548da847f
This commit is contained in:
@@ -521,11 +521,11 @@ class LenovoFirmwareConfig(object):
|
||||
if is_list:
|
||||
count += 1
|
||||
instance = etree.Element(
|
||||
'instance', ID=options[option]['lenovo_instance'],
|
||||
'instance', ID=str(options[option]['lenovo_instance']),
|
||||
order=str(count))
|
||||
else:
|
||||
instance = etree.Element(
|
||||
'instance', ID=options[option]['lenovo_instance'])
|
||||
'instance', ID=str(options[option]['lenovo_instance']))
|
||||
choice.append(instance)
|
||||
|
||||
if not changes:
|
||||
|
||||
Reference in New Issue
Block a user