diff options
author | Fan, ZhijuX <zhijux.fan@intel.com> | 2019-02-19 18:56:03 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-02-20 13:16:57 +0800 |
commit | e8d13fef90b9f9a3b3ae72342d67d0e6c5594613 (patch) | |
tree | c3fbc846e520f37371de93c7a89352de73a7cd5a /BaseTools/Source/Python/Workspace/DecBuildData.py | |
parent | 7da3ed89d4e8d5bf053c7eeec348c2b07b41dc53 (diff) | |
download | edk2-e8d13fef90b9f9a3b3ae72342d67d0e6c5594613.tar.gz edk2-e8d13fef90b9f9a3b3ae72342d67d0e6c5594613.tar.bz2 edk2-e8d13fef90b9f9a3b3ae72342d67d0e6c5594613.zip |
BaseTools:Fixed build failure when specifying multiple BUILDTARGET
With Python3, the dict.value() method returns an iterator.
If a dictionary is updated while an iterator on its keys is used,
a RuntimeError is generated.
Converting the iterator to a list() forces a copy of the mutable
keys in an immutable list which can be safely iterated.
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DecBuildData.py')
0 files changed, 0 insertions, 0 deletions