diff options
| -rw-r--r-- | bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index c0774a3a0b..231a7d3b3a 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | |||
| @@ -54,7 +54,7 @@ class LocalhostBEController(BuildEnvironmentController): | |||
| 54 | if cwd is None: | 54 | if cwd is None: |
| 55 | cwd = self.be.sourcedir | 55 | cwd = self.be.sourcedir |
| 56 | 56 | ||
| 57 | #logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command)) | 57 | logger.debug("lbc_shellcmmd: (%s) %s" % (cwd, command)) |
| 58 | p = subprocess.Popen(command, cwd = cwd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) | 58 | p = subprocess.Popen(command, cwd = cwd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
| 59 | (out,err) = p.communicate() | 59 | (out,err) = p.communicate() |
| 60 | p.wait() | 60 | p.wait() |
| @@ -63,10 +63,10 @@ class LocalhostBEController(BuildEnvironmentController): | |||
| 63 | err = "command: %s \n%s" % (command, out) | 63 | err = "command: %s \n%s" % (command, out) |
| 64 | else: | 64 | else: |
| 65 | err = "command: %s \n%s" % (command, err) | 65 | err = "command: %s \n%s" % (command, err) |
| 66 | #logger.warn("localhostbecontroller: shellcmd error %s" % err) | 66 | logger.warn("localhostbecontroller: shellcmd error %s" % err) |
| 67 | raise ShellCmdException(err) | 67 | raise ShellCmdException(err) |
| 68 | else: | 68 | else: |
| 69 | #logger.debug("localhostbecontroller: shellcmd success") | 69 | logger.debug("localhostbecontroller: shellcmd success") |
| 70 | return out | 70 | return out |
| 71 | 71 | ||
| 72 | def _setupBE(self): | 72 | def _setupBE(self): |
