BaseTools: Use absolute import in Workspace
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>
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
# Import Modules
|
||||
#
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import
|
||||
import Common.LongFilePathOs as os
|
||||
import re
|
||||
import time
|
||||
@ -33,8 +34,8 @@ from Common.Expression import *
|
||||
from CommonDataClass.Exceptions import *
|
||||
from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
from collections import defaultdict
|
||||
from MetaFileTable import MetaFileStorage
|
||||
from MetaFileCommentParser import CheckInfComment
|
||||
from .MetaFileTable import MetaFileStorage
|
||||
from .MetaFileCommentParser import CheckInfComment
|
||||
|
||||
## RegEx for finding file versions
|
||||
hexVersionPattern = re.compile(r'0[xX][\da-f-A-F]{5,8}')
|
||||
|
Reference in New Issue
Block a user