commit | 842308bd43a3176c0313460f4b84054607633c38 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Mon Mar 27 15:49:38 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Mar 27 15:49:38 2017 -0500 |
tree | ce31a4646e89d4a27fe76f1be18ea88857a4bd6d | |
parent | 7a09b671a78153115a6eb4908b712a2872db4ff2 [diff] [blame] |
Fix python2 syntax error Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/openbmc-events b/openbmc-events index b4b8ac7..052e05c 100755 --- a/openbmc-events +++ b/openbmc-events
@@ -57,7 +57,8 @@ e['Message'] != 'org.open_power.Error.Host.Event.Event': raise Exception("Event is not from Host: " + e['Message']) for d in e['AdditionalData']: - (tag,*data) = d.split("=") + data = d.split("=") + tag = data.pop(0) if tag != 'ESEL': continue data = "=".join(data)