]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py
BaseTools: no need to do int() API work for it
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>
Thu, 29 Mar 2018 00:02:17 +0000 (08:02 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 30 Mar 2018 01:16:01 +0000 (09:16 +0800)
commit0944818a1972b07b09b53a2a1e88295cd92361cf
treeab76f64fc90b43c8f5d69b57edeaab2ae1de6ca9
parent4231a8193ec0d52df7e0a101d96c51b1a2b7a996
BaseTools: no need to do int() API work for it

int() with base=0 will already auto determine base from preceeding 0x/0X

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@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/GenC.py
BaseTools/Source/Python/Common/Expression.py
BaseTools/Source/Python/GenFds/FdfParser.py
BaseTools/Source/Python/PatchPcdValue/PatchPcdValue.py