mirror of https://github.com/acidanthera/audk.git
BaseTools: replace string with predefined constant
v2 - add missing namespace. Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
91fa33eeca
commit
1beb268a68
|
@ -787,7 +787,7 @@ class Check(object):
|
|||
continue
|
||||
SqlCommand = """select Value3 from Inf where BelongsToFile =
|
||||
(select ID from File where lower(FullPath) = lower('%s'))
|
||||
and Value2 = '%s'""" % (LibraryIns, 'LIBRARY_CLASS')
|
||||
and Value2 = '%s'""" % (LibraryIns, DT.PLATFORM_COMPONENT_TYPE_LIBRARY_CLASS)
|
||||
RecordSet = EccGlobalData.gDb.TblInf.Exec(SqlCommand)
|
||||
IsFound = False
|
||||
for Record in RecordSet:
|
||||
|
|
Loading…
Reference in New Issue