]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/GenFds/FdfParser.py
BaseTools: make static functions when self is not needed
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>
Fri, 30 Mar 2018 00:19:32 +0000 (08:19 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Tue, 3 Apr 2018 09:38:42 +0000 (17:38 +0800)
commit5bcf1d5671061bbcc3ee752fdf9b9d7bcce84665
treec7ffba0a62730ce17548624f98ebcf68d3688002
parent231fdbb2107a2b359042626263317d8e494165dd
BaseTools: make static functions when self is not needed

remove self, and add @staticmethod to functions

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/FdfParserLite.py
BaseTools/Source/Python/GenFds/FdfParser.py