summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-05-10 15:28:50 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:24:03 +0100
commit96ce54315056ddba15b67d943a3778181b765bce (patch)
tree980437d22a3119436a975c7cd479bf540e7c7de3 /bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
parent46ed4fff34c648d34f7c0ebc30d2ae0c24fda98d (diff)
downloadpoky-96ce54315056ddba15b67d943a3778181b765bce.tar.gz
bitbake: toaster: use decode('utf-8') for binary data
Decoded binary data to utf-8 to fix the following error when runnign on python 3: TypeError: Type str doesn't support the buffer API [YOCTO #9584] (Bitbake rev: 752ea00919ef054622a51ce097923309934eff2b) 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/localhostbecontroller.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
index b4e41968f1..3da8be4358 100644
--- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
+++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py
@@ -70,7 +70,7 @@ class LocalhostBEController(BuildEnvironmentController):
70 raise ShellCmdException(err) 70 raise ShellCmdException(err)
71 else: 71 else:
72 logger.debug("localhostbecontroller: shellcmd success") 72 logger.debug("localhostbecontroller: shellcmd success")
73 return out 73 return out.decode('utf-8')
74 74
75 def getGitCloneDirectory(self, url, branch): 75 def getGitCloneDirectory(self, url, branch):
76 """Construct unique clone directory name out of url and branch.""" 76 """Construct unique clone directory name out of url and branch."""