UserExtensionTianoCore.append({SubSection: SectionDataDict[key]})\r
return UserExtensionTianoCore\r
\r
- # Get depex expresion\r
+ # Get depex expression\r
#\r
# @return: a list include some dictionary that key is section and value is a list contain all data.\r
def GetDepexExpresionList(self):\r
- DepexExpresionList = []\r
+ DepexExpressionList = []\r
if not self._FileSectionDataList:\r
- return DepexExpresionList\r
+ return DepexExpressionList\r
for SectionDataDict in self._FileSectionDataList:\r
for key in SectionDataDict:\r
if key.lower() == "[depex]" or key.lower().startswith("[depex."):\r
SubKey = (SectionList[1], SectionList[2])\r
else:\r
EdkLogger.error("build", AUTOGEN_ERROR, 'Section %s is invalid.' % key)\r
- DepexExpresionList.append({SubKey: SectionDataDict[key]})\r
- return DepexExpresionList\r
+ DepexExpressionList.append({SubKey: SectionDataDict[key]})\r
+ return DepexExpressionList\r
\r
\r
\r