From: Kinney, Michael D Date: Sat, 9 Jun 2018 05:13:05 +0000 (-0700) Subject: BaseTools/BinToPcd: Update for Python 3 compatibility X-Git-Tag: edk2-stable201903~1586 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d0f946f30dea2c56e94e14c5ccfd327eac2da43f;hp=d0f946f30dea2c56e94e14c5ccfd327eac2da43f BaseTools/BinToPcd: Update for Python 3 compatibility Update to be compatible with both Python 2.x and Python 3.x. Also return error code 1 when an error is detected to support use of this tool in scripts. Cc: Yanyan Sun Cc: Yonghong Zhu Cc: Liming Gao Signed-off-by: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Reviewed-by: Yonghong Zhu ---