BaseTools: Various typo
Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur <coeur@gmx.fr> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Liming Gao
parent
325ad62260
commit
fb0b35e05f
@ -80,13 +80,13 @@ class InfSectionParser():
|
||||
UserExtensionTianoCore.append({SubSection: SectionDataDict[key]})
|
||||
return UserExtensionTianoCore
|
||||
|
||||
# Get depex expresion
|
||||
# Get depex expression
|
||||
#
|
||||
# @return: a list include some dictionary that key is section and value is a list contain all data.
|
||||
def GetDepexExpresionList(self):
|
||||
DepexExpresionList = []
|
||||
DepexExpressionList = []
|
||||
if not self._FileSectionDataList:
|
||||
return DepexExpresionList
|
||||
return DepexExpressionList
|
||||
for SectionDataDict in self._FileSectionDataList:
|
||||
for key in SectionDataDict:
|
||||
if key.lower() == "[depex]" or key.lower().startswith("[depex."):
|
||||
@ -105,8 +105,8 @@ class InfSectionParser():
|
||||
SubKey = (SectionList[1], SectionList[2])
|
||||
else:
|
||||
EdkLogger.error("build", AUTOGEN_ERROR, 'Section %s is invalid.' % key)
|
||||
DepexExpresionList.append({SubKey: SectionDataDict[key]})
|
||||
return DepexExpresionList
|
||||
DepexExpressionList.append({SubKey: SectionDataDict[key]})
|
||||
return DepexExpressionList
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user