diff options
Diffstat (limited to 'poky/bitbake/lib/bb/tinfoil.py')
-rw-r--r-- | poky/bitbake/lib/bb/tinfoil.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/poky/bitbake/lib/bb/tinfoil.py b/poky/bitbake/lib/bb/tinfoil.py index 763c32981..2fb1bb7d2 100644 --- a/poky/bitbake/lib/bb/tinfoil.py +++ b/poky/bitbake/lib/bb/tinfoil.py @@ -461,16 +461,7 @@ class Tinfoil: commandline = [command] if params: commandline.extend(params) - try: - result = self.server_connection.connection.runCommand(commandline) - finally: - while True: - event = self.wait_event() - if not event: - break - if isinstance(event, logging.LogRecord): - if event.taskpid == 0 or event.levelno > logging.INFO: - self.logger.handle(event) + result = self.server_connection.connection.runCommand(commandline) if result[1]: raise TinfoilCommandFailed(result[1]) return result[0] |