BaseTools: use built in OrderedDict instead of custom version.
We dont use any feature added by custom dictionary class. 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:
committed by
Yonghong Zhu
parent
0d8ff45567
commit
6e6d767edf
@ -14,7 +14,7 @@
|
||||
# Import Modules
|
||||
#
|
||||
from CommonClass import *
|
||||
from Common.Misc import sdict
|
||||
from collections import OrderedDict
|
||||
|
||||
## PackageHeaderClass
|
||||
#
|
||||
@ -107,7 +107,7 @@ class PackageClass(object):
|
||||
self.IndustryStdHeaders = []
|
||||
self.ModuleFiles = []
|
||||
# {[Guid, Value, Path(relative to WORKSPACE)]: ModuleClassObj}
|
||||
self.Modules = sdict()
|
||||
self.Modules = OrderedDict()
|
||||
self.PackageIncludePkgHeaders = []
|
||||
self.GuidDeclarations = []
|
||||
self.ProtocolDeclarations = []
|
||||
|
Reference in New Issue
Block a user