summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/Parsing.py
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2018-07-13 18:18:40 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-07-16 11:22:16 +0800
commitf3fc5b47ad195dd9e2b644cb294448a386e18a53 (patch)
tree59ad432f5c0d8dff31c444788ac38dec0804b695 /BaseTools/Source/Python/Common/Parsing.py
parent72a836c00a3bd57420a324bd9cf086298849e21b (diff)
downloadedk2-f3fc5b47ad195dd9e2b644cb294448a386e18a53.tar.gz
edk2-f3fc5b47ad195dd9e2b644cb294448a386e18a53.tar.bz2
edk2-f3fc5b47ad195dd9e2b644cb294448a386e18a53.zip
BaseTools: Use absolute import in Common
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/Common/Parsing.py')
-rw-r--r--BaseTools/Source/Python/Common/Parsing.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Common/Parsing.py b/BaseTools/Source/Python/Common/Parsing.py
index 527852a50c..889251b699 100644
--- a/BaseTools/Source/Python/Common/Parsing.py
+++ b/BaseTools/Source/Python/Common/Parsing.py
@@ -14,9 +14,10 @@
##
# Import Modules
#
-from StringUtils import *
+from __future__ import absolute_import
+from .StringUtils import *
from CommonDataClass.DataClass import *
-from DataType import *
+from .DataType import *
## ParseDefineMacro
#