]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: replace Sdict with OrderedDict in UPT
authorFeng, Bob C <bob.c.feng@intel.com>
Tue, 19 Feb 2019 15:44:22 +0000 (23:44 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Wed, 20 Feb 2019 05:16:56 +0000 (13:16 +0800)
commit7da3ed89d4e8d5bf053c7eeec348c2b07b41dc53
tree74e5853ade2e56086980b81f6527cccc43b9ddca
parent838bc257bae3f9fc6723f41f3980f6cfbedb77e5
BaseTools: replace Sdict with OrderedDict in UPT

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1504

V2: import OrderredDict as Sdict in Misc.py instead
updating all the py files.

Sdict class is removed on the commit
174a9d3cc8f74f7a731ac5f16ce6864c8eb359ec
but there are still some py files import it.

This patch is to use collections.OrderedDict to replace Sdict.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
BaseTools/Source/Python/UPT/Library/Misc.py