diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-07-25 13:38:30 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2017-07-26 10:28:14 +0800 |
commit | 688c7d21b97d8ed6bfba72299c43c22a7b707064 (patch) | |
tree | 4096669fa443690cd42b7b4e9cf679ff70949c59 /BaseTools | |
parent | 134bbe88ac189799c7f643cd9435a9bd053d8bec (diff) | |
download | edk2-688c7d21b97d8ed6bfba72299c43c22a7b707064.zip edk2-688c7d21b97d8ed6bfba72299c43c22a7b707064.tar.gz edk2-688c7d21b97d8ed6bfba72299c43c22a7b707064.tar.bz2 |
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>
Diffstat (limited to 'BaseTools')
-rw-r--r-- | BaseTools/Source/Python/build/build.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index eff1e66..4d05ee2 100644 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -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])
|