Fix: import on old CI
Change-Id: I622a61a2d82fda940fd1e98c30c9aa282e9a9c52
diff --git a/report_parser/report_parser.py b/report_parser/report_parser.py
index 95af3f2..0e7a148 100644
--- a/report_parser/report_parser.py
+++ b/report_parser/report_parser.py
@@ -38,14 +38,14 @@
try:
from tfm_ci_pylib.utils import load_json, get_local_git_info, \
save_json, list_subdirs, get_remote_git_info, \
- convert_git_ref_path, xml_read
+ convert_git_ref_path
except ImportError:
dir_path = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(dir_path, "../"))
from tfm_ci_pylib.utils import load_json, get_local_git_info, \
save_json, list_subdirs, get_remote_git_info, \
- convert_git_ref_path, xml_read
+ convert_git_ref_path
def xml_read(file):