]> code.ossystems Code Review - openembedded-core.git/commit
buildhistory_analysis: Convert stream data (bytes) to strings
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Wed, 25 May 2016 09:19:34 +0000 (04:19 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2016 07:10:04 +0000 (08:10 +0100)
commit3064d36186b47954eb94095217f7bb37e3fce651
tree783b1b8af03d8c7565741d768b9d6a6f1c24efc4
parentf6df164d09a4d4cf58977bf6cc0bc4f4bc71183a
buildhistory_analysis: Convert stream data (bytes) to strings

The bytes type variables are threat different as strings variables in python3,
so convert bytes to strings. This was found when using the
script buildhistory-diff, where the interpreter was yielding this error

    TypeError: Type str doesn't support the buffer API

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/buildhistory_analysis.py