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 | da232c243071d09302f0aa252bfeb69636ef2d66 (patch) | |
tree | 1950424e8c27cba9e0522b36bb05c1c31b9fe105 /bin | |
parent | fe8b3a4f32e8aca75d50edeb322172fb46b6d1bb (diff) |
Minor syntax fix in helper functions.
Diffstat (limited to 'bin')
-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 90b0499c..6736ed2f 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) |