]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: simplify testing for existance and containing data
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>
Thu, 5 Apr 2018 23:13:56 +0000 (07:13 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 10 Apr 2018 02:05:13 +0000 (10:05 +0800)
commit6be947438f746baf16afe290ec4ca23ade71400f
tree6ea5e55e6b6aa3131714e2485ecad60f134ee689
parentac55e47818a960fe1d3f9047035ebfa8a59ca227
BaseTools: simplify testing for existance and containing data

and remove a duplicate "if" block from 6 lines up.

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/AutoGen/AutoGen.py