From e661610bb5cf91a7ad186be3965ce89fc6b4a564 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 6 Nov 2019 17:04:14 -0500 Subject: [PATCH] Fix format of UEFI info from a TSMA device Errant comma was causing the data to be the incorrect type. Change-Id: Ic7b6dc8158d259ca04914bd4668151c99569a68e --- pyghmi/redfish/oem/lenovo/tsma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/redfish/oem/lenovo/tsma.py b/pyghmi/redfish/oem/lenovo/tsma.py index a1a50a9c..f0d581fe 100644 --- a/pyghmi/redfish/oem/lenovo/tsma.py +++ b/pyghmi/redfish/oem/lenovo/tsma.py @@ -108,7 +108,7 @@ class TsmHandler(generic.OEMHandler): } if biosinf.get('main', False): biosres['version'] = '{0}.{1}'.format( - biosinf['main'][0], biosinf['main'][1:]), + biosinf['main'][0], biosinf['main'][1:]) yield ('UEFI', biosres) gotinfo = True break