BaseTools: Use absolute import in Eot
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,17 +16,18 @@
|
||||
# Import Modules
|
||||
#
|
||||
from __future__ import print_function
|
||||
from __future__ import absolute_import
|
||||
import re
|
||||
import Common.LongFilePathOs as os
|
||||
import sys
|
||||
|
||||
import antlr3
|
||||
from CLexer import CLexer
|
||||
from CParser import CParser
|
||||
from .CLexer import CLexer
|
||||
from .CParser import CParser
|
||||
|
||||
import FileProfile
|
||||
from CodeFragment import PP_Directive
|
||||
from ParserWarning import Warning
|
||||
from . import FileProfile
|
||||
from .CodeFragment import PP_Directive
|
||||
from .ParserWarning import Warning
|
||||
|
||||
|
||||
##define T_CHAR_SPACE ' '
|
||||
|
Reference in New Issue
Block a user