]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: simplify if call
authorCarsey, Jaben <jaben.carsey@intel.com>
Fri, 20 Apr 2018 15:51:26 +0000 (23:51 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 26 Apr 2018 06:36:05 +0000 (14:36 +0800)
commitb813843cca535392f6b1e090c1ff11f5ce76fd81
tree10fc4e821377bc8aa66c0032117cbc9588728d5b
parent6b1f2cf41a4a31d17eb1fc01e5db6f48b28c489e
BaseTools: simplify if call

the variable is a string type since we just used .strip() on it.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
BaseTools/Source/Python/Common/Expression.py