insane: Open file in binary mode
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 7 May 2013 12:56:03 +0000 (13:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 May 2013 13:06:51 +0000 (14:06 +0100)
commitad7ece1a5d41e566a33497659283a0de28fc9573
tree4f28673d9ffe254bf1a4948f8c0fe590730534b4
parentef051cf093cf3db334d8b9e3d4de47ddab2699d3
insane: Open file in binary mode

We open the file we're writing to in binary mode so open the input stream with the
same mode so things match. This avoids errors with python3.

(From OE-Core rev: 4f47b3a4726dd47e8a6db228fcaf25d1890e3e52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass