X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FCommon%2FDscClassObject.py;h=cff9ab0eefb28c0da01159efa387dd01b55932a2;hb=e96995a134bb689147c7856e842dd0a3678d5153;hp=da3101ae0fe9b70d44af6c1904103d3ae6ad2f30;hpb=0b560b980ce00588e540a480532dd48328a9f003;p=mirror_edk2.git diff --git a/BaseTools/Source/Python/Common/DscClassObject.py b/BaseTools/Source/Python/Common/DscClassObject.py index da3101ae0f..cff9ab0eef 100644 --- a/BaseTools/Source/Python/Common/DscClassObject.py +++ b/BaseTools/Source/Python/Common/DscClassObject.py @@ -25,7 +25,7 @@ from Dictionary import * from CommonDataClass.PlatformClass import * from CommonDataClass.CommonClass import SkuInfoClass from BuildToolError import * -from Misc import sdict +from collections import OrderedDict import GlobalData from Table.TableDsc import TableDsc from Common.LongFilePathSupport import OpenLongFilePath as open @@ -732,7 +732,7 @@ class Dsc(object): # def GenComponents(self, ContainerFile): EdkLogger.debug(2, "Generate %s ..." % TAB_COMPONENTS) - Components = sdict() + Components = OrderedDict() # # Get all include files #