Fix PEL variables import
Change-Id: Ied343cf5cab4ae6650e14ae36068dd967fe34da0
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/pel_utils.py b/lib/pel_utils.py
index eb74ef5..69039b8 100644
--- a/lib/pel_utils.py
+++ b/lib/pel_utils.py
@@ -7,6 +7,13 @@
import func_args as fa
import bmc_ssh_utils as bsu
import json
+import os
+import sys
+from robot.libraries.BuiltIn import BuiltIn
+
+base_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+sys.path.append(base_path + "/data/")
+
import pel_variables
@@ -14,6 +21,7 @@
r"""
Base class for peltool related exceptions.
"""
+
def __init__(self, message):
self.message = message
super().__init__(self.message)