diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-08-24 13:16:15 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-24 13:58:24 +0100 |
commit | a7f1435c4c26237cdb55066c9f5408b4fdf016aa (patch) | |
tree | d8499b39eee2f281d8144b0db42960004cf80e0a /scripts/runqemu-internal | |
parent | 25f6af8895d5f5c6dcedde0a21285d63522769c8 (diff) | |
download | openembedded-core-a7f1435c4c26237cdb55066c9f5408b4fdf016aa.tar.gz openembedded-core-a7f1435c4c26237cdb55066c9f5408b4fdf016aa.tar.bz2 openembedded-core-a7f1435c4c26237cdb55066c9f5408b4fdf016aa.zip |
combo-layer: python3: fix UnicodeDecodeError
check_patch function opens patch file in text mode. This causes
python3 to throw exception when calling readline():
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa7 in position
NNNN: invalid start byte
Opening file in binary mode and using binary type instead of strings
should fix this.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-internal')
0 files changed, 0 insertions, 0 deletions