2
0
mirror of https://opendev.org/x/pyghmi synced 2026-04-01 07:43:39 +00:00

Correct mispelling in error message

Change-Id: Ia6c2d9a4a5e8401d7c2eb64c685dccbbf1794b78
This commit is contained in:
Jarrod Johnson
2021-06-02 14:29:52 -04:00
parent 614b326532
commit 047f454dec

View File

@@ -263,7 +263,7 @@ class FRU(object):
if offset == 0:
return
if self.databytes[offset] & 0b1111 != 1:
raise iexc.BmcErrorException("Invallid/Unsupported chassis area")
raise iexc.BmcErrorException("Invalid/Unsupported chassis area")
inf = self.info
# ignore length field, just process the data
inf['Chassis type'] = enclosure_types[self.databytes[offset + 2]]