From 58108b2e5d75c4976830c4d8046c72f718543a24 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 10 Dec 2018 08:27:26 -0500 Subject: [PATCH] Fix omission in new API Do not report a problem on verifystate==1. Change-Id: I38470f3c0c9b621f45248c0302e562ec33ccd554 --- pyghmi/ipmi/oem/lenovo/imm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index a0224b9d..e9018bf6 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -1455,7 +1455,7 @@ class XCCClient(IMMClient): raise Exception('Failed to verify firmware image') if verifystatus != 1: ipmisession.Session.pause(1) - if verifystatus not in (0, 255): + if verifystatus not in (0, 1, 255): raise Exception( 'Unexpected reply to verifystate: ' + repr(rsp)) progress({'phase': 'validating',