]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Fix the issue caused by tostring() removal on Py39
authorBob Feng <bob.c.feng@intel.com>
Tue, 29 Dec 2020 09:03:53 +0000 (17:03 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 6 Jan 2021 01:24:43 +0000 (01:24 +0000)
commit20b292d0cdf7dce58d824fdf9ab1613c2a1ad2ec
tree2f821e1d70f282c955a2aa62edfe46663709d6c5
parent4ad1bd63b28ca103eba21e383c4375a3a91080cf
BaseTools: Fix the issue caused by tostring() removal on Py39

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3136

Python 3.9 remove the array.array.tostring and
array.array.fromstring() function. This patch
is to use other method to replace tostring() and
fromstring()

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Cc: Mingyue Liang <mingyuex.liang@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py