]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Fix the regression issue caused by commit dc4c77
authorYonghong Zhu <yonghong.zhu@intel.com>
Wed, 22 Feb 2017 15:38:01 +0000 (23:38 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Thu, 23 Feb 2017 05:13:24 +0000 (13:13 +0800)
commit1d8cebf91040e74f6c82352edd5c5cccf6b69853
tree1c18e2d60741af539849f5f78380ea69123a45df
parent526f160f311c6d1540df68590712fdd70c2df0bc
BaseTools: Fix the regression issue caused by commit dc4c77

In the last commit dc4c77, the _GetHeaderInfo will be called more than
once, which cause the self._ConstructorList.append(Value) append some
duplicate value.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/Workspace/WorkspaceDatabase.py