diff options
author | hchen30 <hesheng.chen@intel.com> | 2018-08-08 11:18:06 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-08-16 09:42:55 +0800 |
commit | 855698fb69fdb85fa24c4374d07947106f4de828 (patch) | |
tree | 290571416f9c262c1fd967ac7a93eec5be6c84eb /BaseTools/Source/Python/Ecc/MetaDataParser.py | |
parent | af24640290a79e974710629db91fb39512d0b54b (diff) | |
download | edk2-855698fb69fdb85fa24c4374d07947106f4de828.tar.gz edk2-855698fb69fdb85fa24c4374d07947106f4de828.tar.bz2 edk2-855698fb69fdb85fa24c4374d07947106f4de828.zip |
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 <hesheng.chen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/MetaDataParser.py')
-rw-r--r-- | BaseTools/Source/Python/Ecc/MetaDataParser.py | 4 |
1 files changed, 2 insertions, 2 deletions
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
#
|