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>
This commit is contained in:
@ -12,9 +12,10 @@
|
||||
#
|
||||
|
||||
## Import modules
|
||||
from __future__ import absolute_import
|
||||
import Common.LongFilePathOs as os, sys, logging
|
||||
import traceback
|
||||
from BuildToolError import *
|
||||
from .BuildToolError import *
|
||||
|
||||
## Log level constants
|
||||
DEBUG_0 = 1
|
||||
|
Reference in New Issue
Block a user