diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2019-02-25 17:00:31 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-02-26 09:10:23 +0800 |
commit | dde29b9ca544a47e08cb53cba3895fcabe82521e (patch) | |
tree | c29327838deb92981fdb810490f1912c1f781ab1 /BaseTools/Source/Python/Eot/EotMain.py | |
parent | 07f4e26eb6fe5203028ecfe9bad90d3b67dc72c8 (diff) | |
download | edk2-dde29b9ca544a47e08cb53cba3895fcabe82521e.tar.gz edk2-dde29b9ca544a47e08cb53cba3895fcabe82521e.tar.bz2 edk2-dde29b9ca544a47e08cb53cba3895fcabe82521e.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Eot/EotMain.py')
-rw-r--r-- | BaseTools/Source/Python/Eot/EotMain.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Eot/EotMain.py b/BaseTools/Source/Python/Eot/EotMain.py index 56aa48d2a1..3020f6525e 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
#
|