From f3fc5b47ad195dd9e2b644cb294448a386e18a53 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Fri, 13 Jul 2018 18:18:40 +0800 Subject: 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 Cc: Liming Gao Signed-off-by: Gary Lin Reviewed-by: Jaben Carsey --- BaseTools/Source/Python/Common/Parsing.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'BaseTools/Source/Python/Common/Parsing.py') 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 # -- cgit v1.2.3