From dc985204697782e08679eb6d6e7e3638373ec530 Mon Sep 17 00:00:00 2001 From: Logan Blyth Date: Mon, 20 Jul 2020 15:09:19 -0400 Subject: [PATCH] Closes-Bug: 1887953 Change-Id: I057ce1cdf978f6e965e3f7a37950b01a51d7349c --- pyghmi/cmd/pyghmiutil.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyghmi/cmd/pyghmiutil.py b/pyghmi/cmd/pyghmiutil.py index ca4cb149..9b581b4a 100755 --- a/pyghmi/cmd/pyghmiutil.py +++ b/pyghmi/cmd/pyghmiutil.py @@ -19,7 +19,6 @@ understand how the ipmi_command class workes. import functools import os -import string import sys from pyghmi.ipmi import command @@ -77,7 +76,7 @@ def main(): bmc = sys.argv[1] userid = sys.argv[2] - bmcs = string.split(bmc, ",") + bmcs = bmc.split(',') ipmicmd = None for bmc in bmcs: # NOTE(etingof): is it right to have `ipmicmd` overridden?