diff options
author | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-06-08 22:13:05 -0700 |
---|---|---|
committer | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-06-14 15:43:30 -0700 |
commit | d0f946f30dea2c56e94e14c5ccfd327eac2da43f (patch) | |
tree | 69c6a72fc55163ffc8e82cccd7c7962e67080cee /BaseTools/Source/Python/Common/Database.py | |
parent | 8e965809998bfb674515e9d13d93a4fcec0f95c5 (diff) | |
download | edk2-d0f946f30dea2c56e94e14c5ccfd327eac2da43f.tar.gz edk2-d0f946f30dea2c56e94e14c5ccfd327eac2da43f.tar.bz2 edk2-d0f946f30dea2c56e94e14c5ccfd327eac2da43f.zip |
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 <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>
Diffstat (limited to 'BaseTools/Source/Python/Common/Database.py')
0 files changed, 0 insertions, 0 deletions