From 3a471ba48d94736e7a3874cba49a8c7f4db1c6a0 Mon Sep 17 00:00:00 2001 From: Adrian Lane Date: Wed, 15 Apr 2020 14:07:01 -0700 Subject: Minor syntax fix in helper functions. --- bin/ipmi_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ipmi_test.py b/bin/ipmi_test.py index 90b0499..6736ed2 100755 --- a/bin/ipmi_test.py +++ b/bin/ipmi_test.py @@ -194,7 +194,7 @@ class IpmiTest(object): def ipmi_channel_hlpr(self, i, matches, channel): regex = re.compile('Section User') cmd = self.cmd_ipmi_channel - if (len(cmd)) > 4: + if (len(cmd) > 4): cmd.pop(len(cmd) - 1) cmd.append(str(i)) output = self.subproc_logging(cmd) -- cgit v1.2.3