]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/DscClassObject.py
BaseTools: use built in OrderedDict instead of custom version.
[mirror_edk2.git] / BaseTools / Source / Python / Common / DscClassObject.py
index da3101ae0fe9b70d44af6c1904103d3ae6ad2f30..cff9ab0eefb28c0da01159efa387dd01b55932a2 100644 (file)
@@ -25,7 +25,7 @@ from Dictionary import *
 from CommonDataClass.PlatformClass import *\r
 from CommonDataClass.CommonClass import SkuInfoClass\r
 from BuildToolError import *\r
-from Misc import sdict\r
+from collections import OrderedDict\r
 import GlobalData\r
 from Table.TableDsc import TableDsc\r
 from Common.LongFilePathSupport import OpenLongFilePath as open\r
@@ -732,7 +732,7 @@ class Dsc(object):
     #\r
     def GenComponents(self, ContainerFile):\r
         EdkLogger.debug(2, "Generate %s ..." % TAB_COMPONENTS)\r
-        Components = sdict()\r
+        Components = OrderedDict()\r
         #\r
         # Get all include files\r
         #\r