kontron / python-ipmi

A pure python IPMI library
GNU Lesser General Public License v2.1
185 stars 74 forks source link

ipmitool.py: fix issue with printing SDR type 0x13 #128

Closed hthiery closed 1 year ago

hthiery commented 1 year ago

SDR type 0x13 has no field device_id_string and will throw an exception. Avoid this by setting device_id_string to 'None' in that case.

Signed-off-by: Heiko Thiery heiko.thiery@gmail.com