summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2018-07-13 18:18:42 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-07-16 11:22:17 +0800
commitb6f6b636b038e780c87892b17835bb6d043523b8 (patch)
treee261db2eb2e5b7bd093e13c07b439595cee8e1bd /BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py
parente52b39ab8e9911dacb2c83a87bfe483397f1ea5f (diff)
downloadedk2-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/MetaFileWorkspace/MetaFileParser.py')
-rw-r--r--BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py b/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py
index 111a25ed92..51669815b5 100644
--- a/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py
+++ b/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py
@@ -14,6 +14,7 @@
##
# Import Modules
#
+from __future__ import absolute_import
import Common.LongFilePathOs as os
import re
import time
@@ -31,7 +32,7 @@ from Common.Misc import GuidStructureStringToGuidString, CheckPcdDatum, PathClas
from Common.Expression import *
from CommonDataClass.Exceptions import *
-from MetaFileTable import MetaFileStorage
+from .MetaFileTable import MetaFileStorage
from GenFds.FdfParser import FdfParser
from Common.LongFilePathSupport import OpenLongFilePath as open
from Common.LongFilePathSupport import CodecOpenLongFilePath