mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix the bug that warn() function with only 1 argument
In the definition, the warn() function takes at least 2 arguments. Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
134bbe88ac
commit
688c7d21b9
|
@ -890,7 +890,7 @@ class Build():
|
|||
for Tool in self.ToolChainList:
|
||||
if TAB_TOD_DEFINES_FAMILY not in ToolDefinition or Tool not in ToolDefinition[TAB_TOD_DEFINES_FAMILY] \
|
||||
or not ToolDefinition[TAB_TOD_DEFINES_FAMILY][Tool]:
|
||||
EdkLogger.warn("No tool chain family found in configuration for %s. Default to MSFT." % Tool)
|
||||
EdkLogger.warn("build", "No tool chain family found in configuration for %s. Default to MSFT." % Tool)
|
||||
ToolChainFamily.append("MSFT")
|
||||
else:
|
||||
ToolChainFamily.append(ToolDefinition[TAB_TOD_DEFINES_FAMILY][Tool])
|
||||
|
|
Loading…
Reference in New Issue