summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2019-02-25 17:00:31 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-02-26 09:10:23 +0800
commitdde29b9ca544a47e08cb53cba3895fcabe82521e (patch)
treec29327838deb92981fdb810490f1912c1f781ab1
parent07f4e26eb6fe5203028ecfe9bad90d3b67dc72c8 (diff)
downloadedk2-dde29b9ca544a47e08cb53cba3895fcabe82521e.zip
edk2-dde29b9ca544a47e08cb53cba3895fcabe82521e.tar.gz
edk2-dde29b9ca544a47e08cb53cba3895fcabe82521e.tar.bz2
BaseTools: Eot failed when enable python3
The Eot will report error when python3 enabled. We replaced sdict with collections.OrderedDict in python3 patch set, but the sdict implement "append" method which is not implemented in collections.OrderedDict. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r--BaseTools/Source/Python/Eot/EotMain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Eot/EotMain.py b/BaseTools/Source/Python/Eot/EotMain.py
index 56aa48d..3020f65 100644
--- a/BaseTools/Source/Python/Eot/EotMain.py
+++ b/BaseTools/Source/Python/Eot/EotMain.py
@@ -1105,7 +1105,7 @@ class MultipleFv(FirmwareVolume):
Fv.frombuffer(Buf, 0, len(Buf))
self.BasicInfo.append([Fv.Name, Fv.FileSystemGuid, Fv.Size])
- self.FfsDict.append(Fv.FfsDict)
+ self.FfsDict.update(Fv.FfsDict)
## Class Eot
#