From fb0b35e05f772bd415fe264267bbbcde2e0accda Mon Sep 17 00:00:00 2001 From: Antoine Coeur Date: Wed, 6 Feb 2019 15:44:39 +0800 Subject: BaseTools: Various typo Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur Reviewed-by: Liming Gao --- BaseTools/Source/Python/AutoGen/InfSectionParser.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'BaseTools/Source/Python/AutoGen/InfSectionParser.py') diff --git a/BaseTools/Source/Python/AutoGen/InfSectionParser.py b/BaseTools/Source/Python/AutoGen/InfSectionParser.py index 09e9af3fb4..388b6780df 100644 --- a/BaseTools/Source/Python/AutoGen/InfSectionParser.py +++ b/BaseTools/Source/Python/AutoGen/InfSectionParser.py @@ -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 -- cgit v1.2.3