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>
This commit is contained in:
Gary Lin
2018-07-13 18:18:42 +08:00
committed by Yonghong Zhu
parent e52b39ab8e
commit b6f6b636b0
11 changed files with 51 additions and 42 deletions

View File

@ -17,18 +17,19 @@
#
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 Comment
from CodeFragment import PP_Directive
from ParserWarning import Warning
from . import FileProfile
from .CodeFragment import Comment
from .CodeFragment import PP_Directive
from .ParserWarning import Warning
##define T_CHAR_SPACE ' '