]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Workspace/DscBuildData.py
BaseTools: Fixed bugs in CopyDict function
authorFeng, Bob C <bob.c.feng@intel.com>
Sun, 9 Dec 2018 13:44:13 +0000 (21:44 +0800)
committerBobCF <bob.c.feng@intel.com>
Sat, 15 Dec 2018 12:13:32 +0000 (20:13 +0800)
commit9bf86b12ce04fcb7d997eb1fc8c55fd43d18ab79
treed96e2eadd7fe01b4e74bef837257ed5bb18f0611
parent5695877ec8f636bd4ad873ef50eceb9da7a0f382
BaseTools: Fixed bugs in CopyDict function

https://bugzilla.tianocore.org/show_bug.cgi?id=1387

This patch is going to fix the regression issue which is
introduced by commit bf9e636605188e291d33ab694ff1c5926b6f0800.

This patch Remove the CopyDict incorrect usage for non-dict
input data. Add a check for CopyDict input.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Common/Misc.py
BaseTools/Source/Python/Workspace/DscBuildData.py