mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
BaseTools: Workspace - refactor a dict
change a dict to a set since we never examine the contents, just the keys. 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>
This commit is contained in:
parent
8ac64c5b12
commit
88252a90d1
2 changed files with 3 additions and 3 deletions
|
|
@ -136,7 +136,7 @@ class StructurePcd(PcdClassObject):
|
|||
self.PcdDefineLineNo = 0
|
||||
self.PkgPath = ""
|
||||
self.DefaultValueFromDec = ""
|
||||
self.ValueChain = dict()
|
||||
self.ValueChain = set()
|
||||
self.PcdFieldValueFromComm = collections.OrderedDict()
|
||||
def __repr__(self):
|
||||
return self.TypeName
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue