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/MetaFileWorkspace/MetaFileParser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py') diff --git a/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py b/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py index 51669815b5..a2cd30d3d9 100644 --- a/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py +++ b/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py @@ -22,8 +22,8 @@ import copy import Common.EdkLogger as EdkLogger import Common.GlobalData as GlobalData -import EccGlobalData -import EccToolError +import Ecc.EccGlobalData as EccGlobalData +import Ecc.EccToolError as EccToolError from CommonDataClass.DataClass import * from Common.DataType import * @@ -32,7 +32,7 @@ from Common.Misc import GuidStructureStringToGuidString, CheckPcdDatum, PathClas from Common.Expression import * from CommonDataClass.Exceptions import * -from .MetaFileTable import MetaFileStorage +from Ecc.MetaFileWorkspace.MetaFileTable import MetaFileStorage from GenFds.FdfParser import FdfParser from Common.LongFilePathSupport import OpenLongFilePath as open from Common.LongFilePathSupport import CodecOpenLongFilePath -- cgit v1.2.3