diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/tinfoil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py index 02c0bab600..e68a3b879a 100644 --- a/bitbake/lib/bb/tinfoil.py +++ b/bitbake/lib/bb/tinfoil.py | |||
@@ -448,7 +448,7 @@ class Tinfoil: | |||
448 | self.run_actions(config_params) | 448 | self.run_actions(config_params) |
449 | self.recipes_parsed = True | 449 | self.recipes_parsed = True |
450 | 450 | ||
451 | def run_command(self, command, *params): | 451 | def run_command(self, command, *params, handle_events=True): |
452 | """ | 452 | """ |
453 | Run a command on the server (as implemented in bb.command). | 453 | Run a command on the server (as implemented in bb.command). |
454 | Note that there are two types of command - synchronous and | 454 | Note that there are two types of command - synchronous and |
@@ -468,7 +468,7 @@ class Tinfoil: | |||
468 | try: | 468 | try: |
469 | result = self.server_connection.connection.runCommand(commandline) | 469 | result = self.server_connection.connection.runCommand(commandline) |
470 | finally: | 470 | finally: |
471 | while True: | 471 | while handle_events: |
472 | event = self.wait_event() | 472 | event = self.wait_event() |
473 | if not event: | 473 | if not event: |
474 | break | 474 | break |