Fix CI code format error
Changes:
- Remove unused import
- Fix the syntax format
Tested:
- CI will catch the error if not correct
Change-Id: I00c5d7d06849cd68d52ed82c8afc7da722dbea63
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmctool_utils.py b/lib/openbmctool_utils.py
index dfe84e7..f89683d 100755
--- a/lib/openbmctool_utils.py
+++ b/lib/openbmctool_utils.py
@@ -90,8 +90,10 @@
# Use "egrep -v" to get rid of editorial output from openbmctool.py.
pipeline.insert(
1,
- "| tail -n +1 | egrep -v 'Attempting login|User [^ ]+"
- " has been logged out'",
+ (
+ "| tail -n +1 | egrep -v 'Attempting login|User [^ ]+"
+ " has been logged out'"
+ ),
)
command_string = (
diff --git a/lib/pel_utils.py b/lib/pel_utils.py
index b7e3144..a0c52be 100644
--- a/lib/pel_utils.py
+++ b/lib/pel_utils.py
@@ -11,7 +11,6 @@
import bmc_ssh_utils as bsu
import func_args as fa
-from robot.libraries.BuiltIn import BuiltIn
base_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(base_path + "/data/")