]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools/BinToPcd: Update for Python 3 compatibility
authorKinney, Michael D <michael.d.kinney@intel.com>
Sat, 9 Jun 2018 05:13:05 +0000 (22:13 -0700)
committerKinney, Michael D <michael.d.kinney@intel.com>
Thu, 14 Jun 2018 22:43:30 +0000 (15:43 -0700)
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 <yanyan.sun@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>

No differences found