From ae09f173320d0a84494a2eac2a75ce1592d501f8 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 22 Oct 2020 12:05:31 -0400 Subject: [PATCH] Fix problem with TSM SMMv2 changes broke TSM inventory. Change-Id: If8742364c10476adeab49551e9e836aacee1a3c8 --- pyghmi/ipmi/oem/lenovo/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/handler.py b/pyghmi/ipmi/oem/lenovo/handler.py index 8589238b..199dc5c3 100755 --- a/pyghmi/ipmi/oem/lenovo/handler.py +++ b/pyghmi/ipmi/oem/lenovo/handler.py @@ -583,7 +583,7 @@ class OEMHandler(generic.OEMHandler): if self.has_xcc and name and name.startswith('PSU '): self.immhandler.augment_psu_info(fru, name) return fru - elif self.is_fpc != 6: # SMM variant + elif self.is_fpc and self.is_fpc != 6: # SMM variant fru['oem_parser'] = 'lenovo' return self.smmhandler.process_fru(fru) else: