mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 23:54:02 +02:00
BaseTools: Remove the "from __future__ import" items
Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
6693f359b3
commit
487062c048
@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
## Import Modules
|
## Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import re
|
import re
|
||||||
import os.path as path
|
import os.path as path
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import re
|
import re
|
||||||
import copy
|
import copy
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
## Import Modules
|
## Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import string
|
import string
|
||||||
import collections
|
import collections
|
||||||
import struct
|
import struct
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
## Import Modules
|
## Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import sys
|
import sys
|
||||||
import string
|
import string
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from Common.Misc import *
|
from Common.Misc import *
|
||||||
from Common.StringUtils import StringToArray
|
from Common.StringUtils import StringToArray
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
from Common.BuildToolError import *
|
from Common.BuildToolError import *
|
||||||
from Common.StringUtils import GetLineNo
|
from Common.StringUtils import GetLineNo
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import re
|
import re
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
from Common.BuildToolError import *
|
from Common.BuildToolError import *
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
import Common.LongFilePathOs as os, codecs, re
|
import Common.LongFilePathOs as os, codecs, re
|
||||||
import distutils.util
|
import distutils.util
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
|
@ -20,8 +20,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import sys
|
import sys
|
||||||
import encodings.ascii
|
import encodings.ascii
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#
|
#
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from . import StringTable as st
|
from . import StringTable as st
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
## Import modules
|
## Import modules
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os, sys, logging
|
import Common.LongFilePathOs as os, sys, logging
|
||||||
import traceback
|
import traceback
|
||||||
from .BuildToolError import *
|
from .BuildToolError import *
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
|
|
||||||
## Import Modules
|
## Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from Common.GlobalData import *
|
from Common.GlobalData import *
|
||||||
from CommonDataClass.Exceptions import BadExpression
|
from CommonDataClass.Exceptions import BadExpression
|
||||||
from CommonDataClass.Exceptions import WrnExpression
|
from CommonDataClass.Exceptions import WrnExpression
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#
|
#
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import os
|
import os
|
||||||
from . import LongFilePathOsPath
|
from . import LongFilePathOsPath
|
||||||
from Common.LongFilePathSupport import LongFilePath
|
from Common.LongFilePathSupport import LongFilePath
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import sys
|
import sys
|
||||||
import string
|
import string
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from .StringUtils import *
|
from .StringUtils import *
|
||||||
from CommonDataClass.DataClass import *
|
from CommonDataClass.DataClass import *
|
||||||
from .DataType import *
|
from .DataType import *
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
# # Import Modules
|
# # Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from Common.GlobalData import *
|
from Common.GlobalData import *
|
||||||
from CommonDataClass.Exceptions import BadExpression
|
from CommonDataClass.Exceptions import BadExpression
|
||||||
from CommonDataClass.Exceptions import WrnExpression
|
from CommonDataClass.Exceptions import WrnExpression
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import re
|
import re
|
||||||
from . import DataType
|
from . import DataType
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
|
@ -14,8 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
from . import EdkLogger
|
from . import EdkLogger
|
||||||
from . import DataType
|
from . import DataType
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import re
|
import re
|
||||||
from . import EdkLogger
|
from . import EdkLogger
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import re
|
import re
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from struct import *
|
from struct import *
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
from .GenFdsGlobalVariable import FindExtendTool
|
from .GenFdsGlobalVariable import FindExtendTool
|
||||||
from CommonDataClass.FdfClass import CapsuleClassObject
|
from CommonDataClass.FdfClass import CapsuleClassObject
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Ffs
|
from . import Ffs
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from .Ffs import Ffs
|
from .Ffs import Ffs
|
||||||
from . import Section
|
from . import Section
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Section
|
from . import Section
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Section
|
from . import Section
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from struct import *
|
from struct import *
|
||||||
from . import Section
|
from . import Section
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Region
|
from . import Region
|
||||||
from . import Fv
|
from . import Fv
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from . import Fd
|
from . import Fd
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Ffs
|
from . import Ffs
|
||||||
from . import Rule
|
from . import Rule
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Rule
|
from . import Rule
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
## @file
|
## @file
|
||||||
# process FV generation
|
# process FV generation
|
||||||
#
|
#
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Section
|
from . import Section
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
from .Ffs import Ffs
|
from .Ffs import Ffs
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
import sys
|
import sys
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Section
|
from . import Section
|
||||||
import subprocess
|
import subprocess
|
||||||
from .Ffs import Ffs
|
from .Ffs import Ffs
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
|
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import RuleSimpleFile
|
from . import RuleSimpleFile
|
||||||
from . import RuleComplexFile
|
from . import RuleComplexFile
|
||||||
from . import Section
|
from . import Section
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from struct import *
|
from struct import *
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Rule
|
from . import Rule
|
||||||
from CommonDataClass.FdfClass import RuleComplexFileClassObject
|
from CommonDataClass.FdfClass import RuleComplexFileClassObject
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Rule
|
from . import Rule
|
||||||
from CommonDataClass.FdfClass import RuleSimpleFileClassObject
|
from CommonDataClass.FdfClass import RuleSimpleFileClassObject
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from CommonDataClass.FdfClass import SectionClassObject
|
from CommonDataClass.FdfClass import SectionClassObject
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
import Common.LongFilePathOs as os, glob
|
import Common.LongFilePathOs as os, glob
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from . import Section
|
from . import Section
|
||||||
from .Ffs import Ffs
|
from .Ffs import Ffs
|
||||||
import subprocess
|
import subprocess
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from .Ffs import Ffs
|
from .Ffs import Ffs
|
||||||
from . import Section
|
from . import Section
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
from .GenFdsGlobalVariable import GenFdsGlobalVariable
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
from CommonDataClass.FdfClass import VtfClassObject
|
from CommonDataClass.FdfClass import VtfClassObject
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#====================================== External Libraries ========================================
|
#====================================== External Libraries ========================================
|
||||||
from __future__ import print_function
|
|
||||||
import optparse
|
import optparse
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import re
|
import re
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
'''
|
'''
|
||||||
Pkcs7Sign
|
Pkcs7Sign
|
||||||
'''
|
'''
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
'''
|
'''
|
||||||
Rsa2048Sha256GenerateKeys
|
Rsa2048Sha256GenerateKeys
|
||||||
'''
|
'''
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
'''
|
'''
|
||||||
Rsa2048Sha256Sign
|
Rsa2048Sha256Sign
|
||||||
'''
|
'''
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
import CommonDataClass.DataClass as DataClass
|
import CommonDataClass.DataClass as DataClass
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
import CommonDataClass.DataClass as DataClass
|
import CommonDataClass.DataClass as DataClass
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
from __future__ import absolute_import
|
|
||||||
## @file
|
## @file
|
||||||
# This file is used to create/update/query/erase table for dsc datas
|
# This file is used to create/update/query/erase table for dsc datas
|
||||||
#
|
#
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
import Common.LongFilePathOs as os, time
|
import Common.LongFilePathOs as os, time
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
import CommonDataClass.DataClass as DataClass
|
import CommonDataClass.DataClass as DataClass
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
from Common.StringUtils import ConvertToSqlString
|
from Common.StringUtils import ConvertToSqlString
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
from Common.StringUtils import ConvertToSqlString
|
from Common.StringUtils import ConvertToSqlString
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
from Common.StringUtils import ConvertToSqlString
|
from Common.StringUtils import ConvertToSqlString
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
import CommonDataClass.DataClass as DataClass
|
import CommonDataClass.DataClass as DataClass
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
from Common.StringUtils import ConvertToSqlString
|
from Common.StringUtils import ConvertToSqlString
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
from Common.StringUtils import ConvertToSqlString
|
from Common.StringUtils import ConvertToSqlString
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
import Common.LongFilePathOs as os, time
|
import Common.LongFilePathOs as os, time
|
||||||
from Table.Table import Table
|
from Table.Table import Table
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#
|
#
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -17,8 +17,6 @@
|
|||||||
# This class is used to retrieve information stored in database and convert them
|
# This class is used to retrieve information stored in database and convert them
|
||||||
# into PlatformBuildClassObject form for easier use for AutoGen.
|
# into PlatformBuildClassObject form for easier use for AutoGen.
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from Common.StringUtils import *
|
from Common.StringUtils import *
|
||||||
from Common.DataType import *
|
from Common.DataType import *
|
||||||
from Common.Misc import *
|
from Common.Misc import *
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#
|
#
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from Common.DataType import *
|
from Common.DataType import *
|
||||||
from Common.Misc import *
|
from Common.Misc import *
|
||||||
from Common.caching import cached_property, cached_class_function
|
from Common.caching import cached_property, cached_class_function
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
from __future__ import absolute_import
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
import Common.EdkLogger as EdkLogger
|
import Common.EdkLogger as EdkLogger
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#
|
#
|
||||||
|
|
||||||
from __future__ import absolute_import
|
|
||||||
from collections import OrderedDict, defaultdict
|
from collections import OrderedDict, defaultdict
|
||||||
from Common.DataType import SUP_MODULE_USER_DEFINED
|
from Common.DataType import SUP_MODULE_USER_DEFINED
|
||||||
from .BuildClassObject import LibraryClassObject
|
from .BuildClassObject import LibraryClassObject
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import absolute_import
|
|
||||||
import sqlite3
|
import sqlite3
|
||||||
from Common.StringUtils import *
|
from Common.StringUtils import *
|
||||||
from Common.DataType import *
|
from Common.DataType import *
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
##
|
##
|
||||||
# Import Modules
|
# Import Modules
|
||||||
#
|
#
|
||||||
from __future__ import print_function
|
|
||||||
import Common.LongFilePathOs as os
|
import Common.LongFilePathOs as os
|
||||||
import re
|
import re
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user