From 43553ea77be3cbb09905b0c2ce4dff42d6cb60c6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 12 Sep 2019 08:37:30 -0400 Subject: [PATCH] Fix typo in ruleset in set_bmc_configuration IMM handler had a mistake in the variable name. Change-Id: I051b8b44407d10b685a02af63371fa4af8a9ca40 --- 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 125bb50d..69d4032a 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -864,7 +864,7 @@ class XCCClient(IMMClient): ruleset[self.rulemap[key.lower()]] = changeset[key]['value'] if key.lower() == 'password_expiration': warntime = str(int(int(changeset[key]['value']) * 0.08)) - rulset['USER_GlobalPassExpWarningPeriod'] = warntime + ruleset['USER_GlobalPassExpWarningPeriod'] = warntime else: raise pygexc.InvalidParameterValue( '{0} not a known setting'.format(key))