From 98798b2372b9db06632d54ad1ba32ba6181f51f2 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Tue, 21 Jun 2016 10:49:13 +0100 Subject: [PATCH] Convert data tuple to a list The data parameter is defaulted to a tuple, to avoid a TypeError this needs to be converted to a list before it can be concatenated with another list. Change-Id: Iba42196e9f9b9315b684a5ceadf16313f13fdd25 --- pyghmi/ipmi/private/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py index 15e088d2..e5aa6e5e 100644 --- a/pyghmi/ipmi/private/session.py +++ b/pyghmi/ipmi/private/session.py @@ -717,7 +717,7 @@ class Session(object): if retry is None: retry = not self.servermode if self.servermode: - data = [code] + data + data = [code] + list(data) if netfn is None: netfn = self.clientnetfn if command is None: