diff options
| author | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-08-03 00:22:23 +0300 |
|---|---|---|
| committer | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-08-03 04:42:27 +0300 |
| commit | 83964ebc5e74549d6efc7134af19150a0b2079aa (patch) | |
| tree | fd0218b857afb8290239e75bf5c1bd109a9776e7 /BaseTools/Source/Python/Ecc/CParser.py | |
| parent | 7191827f90b4a09cfef56e1cf23a768a9cb90e07 (diff) | |
| download | edk2-83964ebc5e74549d6efc7134af19150a0b2079aa.tar.xz | |
BaseTools/BinToPcd: Encode string returned from ByteArray()
https://bugzilla.tianocore.org/show_bug.cgi?id=1069
The ByteArray() method returns a string with the hex bytes of
a PCD value. Make sure the string is always encoded as a string,
so it can be used to build a complete PCD statement string and be
written out to a file. This change is required for Python 3.x
compatibility.
Cc: YanYan Sun <yanyan.sun@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/CParser.py')
0 files changed, 0 insertions, 0 deletions
