Skip to content

Commit

Permalink
BaseTools: Update incorrect variable name 'DataPile'
Browse files Browse the repository at this point in the history
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2093

The PlatformAutoGen object has a DataPipe property but no DataPile property
So change the variable name 'DataPile' to 'DataPipe' in BuildReport.py

This patch is going to fix that issue.

Cc: Liming Gao <[email protected]>
Cc: Bob Feng <[email protected]>
Signed-off-by: Zhiju.Fan <[email protected]>
Reviewed-by: Bob Feng <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
  • Loading branch information
zhijufan authored and BobCF committed Aug 20, 2019
1 parent 9445908 commit 0970a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BaseTools/Source/Python/build/BuildReport.py
Original file line number Diff line number Diff line change
Expand Up @@ -2142,7 +2142,7 @@ def __init__(self, Wa, MaList, ReportType):
INFList = GlobalData.gFdfParser.Profile.InfDict[Pa.Arch]
for InfName in INFList:
InfClass = PathClass(NormPath(InfName), Wa.WorkspaceDir, Pa.Arch)
Ma = ModuleAutoGen(Wa, InfClass, Pa.BuildTarget, Pa.ToolChain, Pa.Arch, Wa.MetaFile,Pa.DataPile)
Ma = ModuleAutoGen(Wa, InfClass, Pa.BuildTarget, Pa.ToolChain, Pa.Arch, Wa.MetaFile, Pa.DataPipe)
if Ma is None:
continue
if Ma not in ModuleAutoGenList:
Expand Down

0 comments on commit 0970a80

Please sign in to comment.