diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-12 16:53:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-12 21:41:15 +0100 |
commit | e56c49717355c9493b07d5fc80981a95ad8a0ec8 (patch) | |
tree | 182c2ab3fe43bf4eb2db193c9361b345ecf30151 /lib/bb/command.py | |
parent | d214e55c45f9733b3289138feec0ae3361a4a48b (diff) | |
download | bitbake-e56c49717355c9493b07d5fc80981a95ad8a0ec8.tar.gz |
server/process: Simplfy idle callback handler function
Having the idle callbacks abstracted via the configuration object
makes no sense. Its like this for historical reasons from the
multiple server backends but we don't need this now so simplfy.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index 48a7f1a15..4d152ff4c 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -84,7 +84,7 @@ class Command: if command not in CommandsAsync.__dict__: return None, "No such command" self.currentAsyncCommand = (command, commandline) - self.cooker.configuration.server_register_idlecallback(self.cooker.runCommands, self.cooker) + self.cooker.idleCallBackRegister(self.cooker.runCommands, self.cooker) return True, None def runAsyncCommand(self): |