From 67071582debeb58d8ca285c8320be5b90bf023b1 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 7 Jun 2019 16:41:13 -0400 Subject: [PATCH] Fix get_oem_sensor_names Two mistakes were made in this function. Change-Id: I5be38e4595b496fe8a120ef474a3d19027653e6b --- pyghmi/ipmi/oem/lenovo/imm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index 861bee9b..51603ef8 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -1167,12 +1167,12 @@ class XCCClient(IMMClient): return controller def get_oem_sensor_names(self, ipmicmd): - oemsensornames = super(XCCClient, self) + oemsensornames = super(XCCClient, self).get_oem_sensor_names(ipmicmd) therminfo = self.grab_cacheable_json('/api/dataset/pwrmgmt?params=GetThermalRealTimeData', 1) if therminfo: for name in sorted(therminfo['items'][0]): if 'DIMM' in name and 'Temp' in name: - oemsensornames = oemsensornames + name + oemsensornames = oemsensornames + (name,) return oemsensornames def get_oem_sensor_descriptions(self, ipmicmd):