summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/WorkspaceCommon.py
diff options
context:
space:
mode:
authorCarsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben>2018-04-04 05:03:09 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-04-08 14:50:18 +0800
commita0767bae298443c91bae1e1fb43eb0ed9a436004 (patch)
tree78d1be03f340a22964c67b71eef8710ee1f887b5 /BaseTools/Source/Python/Workspace/WorkspaceCommon.py
parent1f1c67128430bfd8a57213f7147d56f194880a51 (diff)
downloadedk2-a0767bae298443c91bae1e1fb43eb0ed9a436004.tar.gz
edk2-a0767bae298443c91bae1e1fb43eb0ed9a436004.tar.bz2
edk2-a0767bae298443c91bae1e1fb43eb0ed9a436004.zip
BaseTools: Workspace - 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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/WorkspaceCommon.py')
-rw-r--r--BaseTools/Source/Python/Workspace/WorkspaceCommon.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Workspace/WorkspaceCommon.py b/BaseTools/Source/Python/Workspace/WorkspaceCommon.py
index 8c27b4ad5b..17ac3b1054 100644
--- a/BaseTools/Source/Python/Workspace/WorkspaceCommon.py
+++ b/BaseTools/Source/Python/Workspace/WorkspaceCommon.py
@@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
-from Common.Misc import sdict
from collections import OrderedDict, defaultdict
from Common.DataType import SUP_MODULE_USER_DEFINED
from BuildClassObject import LibraryClassObject
@@ -113,7 +112,7 @@ def _GetModuleLibraryInstances(Module, Platform, BuildDatabase, Arch, Target, To
LibraryConsumerList = [Module]
Constructor = []
ConsumedByList = OrderedListDict()
- LibraryInstance = sdict()
+ LibraryInstance = OrderedDict()
while len(LibraryConsumerList) > 0:
M = LibraryConsumerList.pop()