]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Workspace/DscBuildData.py
BaseTools: Workspace - refactor GetStructurePcdInfo
authorCarsey, Jaben <jaben.carsey@intel.com>
Fri, 20 Apr 2018 15:51:27 +0000 (23:51 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 26 Apr 2018 06:42:20 +0000 (14:42 +0800)
commit9759febdb83fc38b83f668a553d06f7f0b5acace
tree56187d9468cd823a457911b6dcc83ddea959ae30
parentb813843cca535392f6b1e090c1ff11f5ce76fd81
BaseTools: Workspace - refactor GetStructurePcdInfo

the function doesn't use self and can be static
defaultdict replaces dict and removes the dict initialization code

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/Workspace/DscBuildData.py