mirror of
https://opendev.org/x/pyghmi
synced 2026-05-17 11:54:22 +00:00
remove the check as it may cause RD650 failure
Change-Id: Id5975c124fae533e1dec52721dd1c94e2a9ce8e8
This commit is contained in:
+1
-3
@@ -281,9 +281,7 @@ class FRU(object):
|
||||
try:
|
||||
while self.databytes[offset] != 0xc1:
|
||||
fielddata, offset = self._decode_tlv(offset, language)
|
||||
# add check to avoid exception
|
||||
if fielddata:
|
||||
target.append(fielddata)
|
||||
target.append(fielddata)
|
||||
except IndexError:
|
||||
# If we overrun the end due to malformed FRU,
|
||||
# return at least what decoded right
|
||||
|
||||
Reference in New Issue
Block a user