]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: AutoGen refactor to iterate less
authorJaben Carsey <jaben.carsey@intel.com>
Fri, 3 Aug 2018 15:11:08 +0000 (23:11 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Mon, 20 Aug 2018 02:53:06 +0000 (10:53 +0800)
commit0258ba6256ca193e8fd896a40ceef1bc06a3e0e8
treeada50342e91e29b181c33961ffb511ac9caf2127
parent830bf22fa5525263ea10cd2f4a0dc843a4c05122
BaseTools: AutoGen refactor to iterate less

Don't iterate over new dictionaries with one item

Create the data and then add to dictionary.

Note: if you diff ignoring whitespace changes you
can more easily see the relevant changes.

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