]> code.ossystems Code Review - openembedded-core.git/commit
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:04:19 +0000 (14:04 +0100)
commit4f47b3a4726dd47e8a6db228fcaf25d1890e3e52
tree54d4fbdd1af1a82959e2e91d1f4a9b7f91d79359
parenta37ae30b9766df346ca57755530024a0b7d5f86b
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.

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