summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/management
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-10 11:04:49 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:24:03 +0100
commit7c44d883b432cbededb1e2620d3823e603fd25c0 (patch)
tree969e1a0f08c3dae69560f2dd48b92cf6d3f9cc24 /bitbake/lib/toaster/bldcontrol/management
parent8a93f5f32e141b4d153156152b9aeb1af25325ba (diff)
downloadpoky-7c44d883b432cbededb1e2620d3823e603fd25c0.tar.gz
bitbake: toaster: use force_text instead of force_bytes
Usage of force_bytes in BuildRequest.__str__ method caused python 3 to throw "__str__ returned non-string (type bytes)" error. Replaced force_bytes with force_text to make the code working on both python 2 and python 3. [YOCTO #9584] (Bitbake rev: 9dd9c1393a84d1110c647e84253af8e0bb6acc45) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/management')
-rw-r--r--bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
index e3145e8be6..80782ef923 100644
--- a/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
+++ b/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py
@@ -54,8 +54,8 @@ class Command(NoArgsCommand):
54 logger.debug("runbuilds: No build env") 54 logger.debug("runbuilds: No build env")
55 return 55 return
56 56
57 logger.debug("runbuilds: starting build %s, environment %s" % \ 57 logger.info("runbuilds: starting build %s, environment %s" % \
58 (str(br).decode('utf-8'), bec.be)) 58 (br, bec.be))
59 59
60 # let the build request know where it is being executed 60 # let the build request know where it is being executed
61 br.environment = bec.be 61 br.environment = bec.be