From cd3c4292e7ccc8934f229fcf010f8615398b87b5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 8 Jun 2011 09:34:12 +0100 Subject: 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 --- bitbake/lib/bb/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/command.py') 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: if command not in CommandsAsync.__dict__: return "No such command" self.currentAsyncCommand = (command, commandline) - self.cooker.server.register_idle_function(self.cooker.runCommands, self.cooker) + self.cooker.server_registration_cb(self.cooker.runCommands, self.cooker) return True except: import traceback -- cgit v1.2.3-54-g00ecf