diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 09:34:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 11:37:26 +0100 |
commit | cd3c4292e7ccc8934f229fcf010f8615398b87b5 (patch) | |
tree | 0c9cbf81048e4b44bc613f78cd6d59f0d9400b2e /bitbake/lib/bb/command.py | |
parent | e386fe4542865119ae7e1574e260c037e926239e (diff) | |
download | poky-cd3c4292e7ccc8934f229fcf010f8615398b87b5.tar.gz |
bitbake: Cleanup bitbake server init process to be clearer to follow
Create a standard format server class instance with method calls
for each step in the server setup. There should be enough hooks
for each of the different server types.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r-- | bitbake/lib/bb/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index e83751a2fa..9841e6874e 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -82,7 +82,7 @@ class Command: | |||
82 | if command not in CommandsAsync.__dict__: | 82 | if command not in CommandsAsync.__dict__: |
83 | return "No such command" | 83 | return "No such command" |
84 | self.currentAsyncCommand = (command, commandline) | 84 | self.currentAsyncCommand = (command, commandline) |
85 | self.cooker.server.register_idle_function(self.cooker.runCommands, self.cooker) | 85 | self.cooker.server_registration_cb(self.cooker.runCommands, self.cooker) |
86 | return True | 86 | return True |
87 | except: | 87 | except: |
88 | import traceback | 88 | import traceback |