diff options
author | Gary Lin <glin@suse.com> | 2018-07-13 18:18:42 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-07-16 11:22:17 +0800 |
commit | b6f6b636b038e780c87892b17835bb6d043523b8 (patch) | |
tree | e261db2eb2e5b7bd093e13c07b439595cee8e1bd /BaseTools/Source/Python/Ecc/Exception.py | |
parent | e52b39ab8e9911dacb2c83a87bfe483397f1ea5f (diff) | |
download | edk2-b6f6b636b038e780c87892b17835bb6d043523b8.tar.gz edk2-b6f6b636b038e780c87892b17835bb6d043523b8.tar.bz2 edk2-b6f6b636b038e780c87892b17835bb6d043523b8.zip |
BaseTools: Use absolute import in Ecc
Based on "futurize -f libfuturize.fixes.fix_absolute_import
Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Exception.py')
-rw-r--r-- | BaseTools/Source/Python/Ecc/Exception.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Ecc/Exception.py b/BaseTools/Source/Python/Ecc/Exception.py index 0498a503d7..340e0e9752 100644 --- a/BaseTools/Source/Python/Ecc/Exception.py +++ b/BaseTools/Source/Python/Ecc/Exception.py @@ -15,7 +15,8 @@ # Import Modules
#
from __future__ import print_function
-from Xml.XmlRoutines import *
+from __future__ import absolute_import
+from .Xml.XmlRoutines import *
import Common.LongFilePathOs as os
# ExceptionXml to parse Exception Node of XML file
|