diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-02-06 11:02:55 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-06 15:30:44 +0000 |
commit | 618931eb0297391bd8e5346d297c2bcab7e088cf (patch) | |
tree | cdfab77c0c5c8c643c68bfba448e202c432607de /LICENSE | |
parent | 4e9eb77108c7e628ebd00ec848b8bc034802e197 (diff) | |
download | poky-618931eb0297391bd8e5346d297c2bcab7e088cf.tar.gz |
classes/buildhistory: write out files in UTF-8 format
If the package information contained unicode characters (for example, in
the package file listing) then writing them out as ASCII would fail, so
write them out using codecs.open() instead of open() using UTF-8. This
fixes ca-certificates failing in do_packagedata when buildhistory is
enabled.
(From OE-Core rev: dcf228fe69bfee4e22baad477ad407248c0f9cdb)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions