BaseTools: Use absolute import in Table

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:44 +08:00 committed by Yonghong Zhu
parent 64429fbd61
commit 3d87290487
12 changed files with 24 additions and 12 deletions

View File

@ -14,9 +14,10 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
import CommonDataClass.DataClass as DataClass
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString
## TableDataModel

View File

@ -14,9 +14,10 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
import CommonDataClass.DataClass as DataClass
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString
## TableDec

View File

@ -1,3 +1,4 @@
from __future__ import absolute_import
## @file
# This file is used to create/update/query/erase table for dsc datas
#
@ -16,7 +17,7 @@
#
import Common.EdkLogger as EdkLogger
import CommonDataClass.DataClass as DataClass
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString
## TableDsc

View File

@ -14,9 +14,10 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
import Common.LongFilePathOs as os, time
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString2
import Eot.EotToolError as EotToolError
import Eot.EotGlobalData as EotGlobalData

View File

@ -14,9 +14,10 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
import CommonDataClass.DataClass as DataClass
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString
## TableFdf

View File

@ -14,8 +14,9 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString
import Common.LongFilePathOs as os
from CommonDataClass.DataClass import FileClass

View File

@ -14,8 +14,9 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString
## TableFunction

View File

@ -14,9 +14,10 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
from Common.StringUtils import ConvertToSqlString
from Table import Table
from .Table import Table
## TableIdentifier
#

View File

@ -14,9 +14,10 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
import CommonDataClass.DataClass as DataClass
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString
## TableInf

View File

@ -14,8 +14,9 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString
## TablePcd

View File

@ -14,9 +14,10 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
from Common.StringUtils import ConvertToSqlString
from Table import Table
from .Table import Table
## TableQuery
#

View File

@ -14,9 +14,10 @@
##
# Import Modules
#
from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
import Common.LongFilePathOs as os, time
from Table import Table
from .Table import Table
from Common.StringUtils import ConvertToSqlString2
import EccToolError as EccToolError
import EccGlobalData as EccGlobalData