mirror of https://github.com/acidanthera/audk.git
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:
parent
64429fbd61
commit
3d87290487
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue