From 9251418f56292507ae218f872416f16b11715412 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 27 Jan 2021 13:15:33 -0500 Subject: [PATCH] Improve robustness of IPMI config for XMM/XCC Request more forgiving timing for the write filehandle, and also do not raise error on closing a purged filehandle. Change-Id: I2a8274f5e2e5b651d8b062433030e75a2bd608eb --- pyghmi/ipmi/oem/lenovo/config.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyghmi/ipmi/oem/lenovo/config.py b/pyghmi/ipmi/oem/lenovo/config.py index a7b20dbb..9cd40d17 100644 --- a/pyghmi/ipmi/oem/lenovo/config.py +++ b/pyghmi/ipmi/oem/lenovo/config.py @@ -165,7 +165,7 @@ class LenovoFirmwareConfig(object): data.extend(OPEN_WO_COMMAND) hex_size = struct.pack("