commit | 3348666675c8ae4400e9055793aa7503719e4f96 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue May 14 15:53:42 2019 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 10 16:52:45 2019 -0600 |
tree | a720b56b37fdc501d50dbefc3af0f4fc069c4be0 | |
parent | 5f3645b9980c45d8f498450f72e7ed6d993f986e [diff] |
tools: binman: Open all binary files in binary mode At present some files are opened in text mode despite containing binary data. This works on Python 2 but not always on Python 3, due to unicode problems. BC&D are not my favourite people. Adjust the affected open() statements to use binary mode. Signed-off-by: Simon Glass <sjg@chromium.org>