BaseTools: Eot - refactor global data
remove unused lists, dicts, and duplicate variables 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:
committed by
Yonghong Zhu
parent
5373d8a0f9
commit
cdd04623d7
@ -302,9 +302,6 @@ class Eot(object):
|
||||
EotGlobalData.gINF_FILES = mFileList
|
||||
EotGlobalData.gOP_INF.close()
|
||||
|
||||
EotGlobalData.gDEC_FILES = mDecFileList
|
||||
|
||||
|
||||
## GenerateReport() method
|
||||
#
|
||||
# Generate final HTML report
|
||||
@ -393,8 +390,6 @@ class Eot(object):
|
||||
SqlCommand = """select DISTINCT GuidValue, ItemType from Report where ModuleID = -2 and ItemMode = 'Produced'"""
|
||||
RecordSet = EotGlobalData.gDb.TblReport.Exec(SqlCommand)
|
||||
for Record in RecordSet:
|
||||
if Record[1] == 'Ppi':
|
||||
EotGlobalData.gPpiList[Record[0].lower()] = -2
|
||||
if Record[1] == 'Protocol':
|
||||
EotGlobalData.gProtocolList[Record[0].lower()] = -2
|
||||
|
||||
|
Reference in New Issue
Block a user