From e3a077a853b66fd95c90c5150997ed88f3c625c7 Mon Sep 17 00:00:00 2001 From: Allan Vidal Date: Wed, 14 Oct 2015 17:12:27 -0300 Subject: [PATCH] Change acknowledgement_timeout to acknowledge_timeout Change return value key for get operation to match the name used in the set operation. Change-Id: Ie53910e3049618475478df2ebc93edf465d6b0e3 --- pyghmi/ipmi/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py index c2f7291a..3ca7ab83 100644 --- a/pyghmi/ipmi/command.py +++ b/pyghmi/ipmi/command.py @@ -798,7 +798,7 @@ class Command(object): configuration. The following keys may be present: acknowledge_required - Indicates whether the target expects an acknowledgement - acknowledgement_timeout - How long it will wait for an acknowledgment + acknowledge_timeout - How long it will wait for an acknowledgment before retrying retries - How many attempts will be made to deliver the alert to this destination @@ -817,7 +817,7 @@ class Command(object): destinfo['acknowledge_required'] = dtype & 0b10000000 == 0b10000000 # Ignore destination type for now... if destinfo['acknowledge_required']: - destinfo['acknowledgement_timeout'] = acktimeout + destinfo['acknowledge_timeout'] = acktimeout destinfo['retries'] = retries rqdata = (channel, 19, destination, 0) rsp = self.xraw_command(netfn=0xc, command=2, data=rqdata)