diff --git a/pyghmi/ipmi/oem/lenovo/nextscale.py b/pyghmi/ipmi/oem/lenovo/nextscale.py index d382457f..ef993e04 100644 --- a/pyghmi/ipmi/oem/lenovo/nextscale.py +++ b/pyghmi/ipmi/oem/lenovo/nextscale.py @@ -243,11 +243,11 @@ class SMMClient(object): def process_fru(self, fru): # TODO(jjohnson2): can also get EIOM, SMM, and riser data if warranted fru['Serial Number'] = self.ipmicmd.xraw_command( - netfn=0x32, command=0xb0, data=(5, 1))['data'][:].strip().replace( - '\xff', '') + netfn=0x32, command=0xb0, data=(5, 1))['data'][:].strip( + ' \x00\xff').replace('\xff', '') fru['Model'] = self.ipmicmd.xraw_command( - netfn=0x32, command=0xb0, data=(5, 0))['data'][:].strip().replace( - '\xff', '') + netfn=0x32, command=0xb0, data=(5, 0))['data'][:].strip( + ' \x00\xff').replace('\xff', '') return fru def get_webclient(self):