]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools:ord() don't match in py2 and py3
authorFeng, Bob C <bob.c.feng@intel.com>
Wed, 23 Jan 2019 01:29:52 +0000 (09:29 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Fri, 1 Feb 2019 03:09:24 +0000 (11:09 +0800)
commit7fa0e68afd658bda001aaccf616837a4a493a385
treecfd28c6a5260de3adb85f00969302e65e411b315
parent4a3773e5783d60f7142325667de2af53da662142
BaseTools:ord() don't match in py2 and py3

In python2, the FvHeaderBuffer Type is a str
In python3, the FvHeaderBuffer Type is a bytes

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/GenFds/FvImageSection.py