diff options
author | Carsey, Jaben </o=Intel/ou=Americas01/cn=Workers/cn=Carsey, Jaben> | 2018-04-04 05:03:07 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-04-08 14:50:17 +0800 |
commit | 6e6d767edf855320e49892e5f8773e0b3394b975 (patch) | |
tree | 9aede336d03b1595fe7f8e11005b6bc35cdaf62b /BaseTools/Source/Python/Common/DscClassObject.py | |
parent | 0d8ff45567fd8fc8e89cdfd646f585c4984ec1b1 (diff) | |
download | edk2-6e6d767edf855320e49892e5f8773e0b3394b975.tar.gz edk2-6e6d767edf855320e49892e5f8773e0b3394b975.tar.bz2 edk2-6e6d767edf855320e49892e5f8773e0b3394b975.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Common/DscClassObject.py')
-rw-r--r-- | BaseTools/Source/Python/Common/DscClassObject.py | 4 |
1 files changed, 2 insertions, 2 deletions
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
#
|