From 855698fb69fdb85fa24c4374d07947106f4de828 Mon Sep 17 00:00:00 2001 From: hchen30 Date: Wed, 8 Aug 2018 11:18:06 +0800 Subject: BaseTools/Ecc: Fix import issues 1. Complete the full path for import statement. Use "EccMain" to replace "Ecc" for the absolute path support. 2. Fix some issues on configuration file. 3. Fix an issue of RaiseError not working in EdkLogger. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen Reviewed-by: Liming Gao --- BaseTools/Source/Python/Ecc/MetaDataParser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BaseTools/Source/Python/Ecc/MetaDataParser.py') diff --git a/BaseTools/Source/Python/Ecc/MetaDataParser.py b/BaseTools/Source/Python/Ecc/MetaDataParser.py index e5744dd5cc..d0a94153d4 100644 --- a/BaseTools/Source/Python/Ecc/MetaDataParser.py +++ b/BaseTools/Source/Python/Ecc/MetaDataParser.py @@ -14,9 +14,9 @@ from __future__ import absolute_import import Common.LongFilePathOs as os from CommonDataClass.DataClass import * -from .EccToolError import * +from Ecc.EccToolError import * from Common.MultipleWorkspace import MultipleWorkspace as mws -from . import EccGlobalData +from Ecc import EccGlobalData import re ## Get the inlcude path list for a source file # -- cgit v1.2.3