diff options
author | Adrian Lane <adrian.lane@canonical.com> | 2020-04-15 14:07:01 -0700 |
---|---|---|
committer | Adrian Lane <adrian.lane@canonical.com> | 2020-04-15 14:07:01 -0700 |
commit | 3a471ba48d94736e7a3874cba49a8c7f4db1c6a0 (patch) | |
tree | 2749627c2a629e4d1f4349e9ec3412e4f6a328c8 | |
parent | d2a248db98c53db0227232fd8c6c16c40f228405 (diff) |
Minor syntax fix in helper functions.
-rwxr-xr-x | bin/ipmi_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |