summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-12 16:53:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-13 08:07:00 +0100
commita3448ad15ec811bbf64aaf5d6496356d26516dfa (patch)
tree33f9c65cafb95c446f3347bf70a555a76f7cba47 /bitbake/lib/bb/command.py
parent0c91113c077d8efe01a7c9f788c9bdecbc6493bc (diff)
downloadpoky-a3448ad15ec811bbf64aaf5d6496356d26516dfa.tar.gz
bitbake: 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. (Bitbake rev: e56c49717355c9493b07d5fc80981a95ad8a0ec8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 48a7f1a158..4d152ff4c0 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -84,7 +84,7 @@ class Command:
84 if command not in CommandsAsync.__dict__: 84 if command not in CommandsAsync.__dict__:
85 return None, "No such command" 85 return None, "No such command"
86 self.currentAsyncCommand = (command, commandline) 86 self.currentAsyncCommand = (command, commandline)
87 self.cooker.configuration.server_register_idlecallback(self.cooker.runCommands, self.cooker) 87 self.cooker.idleCallBackRegister(self.cooker.runCommands, self.cooker)
88 return True, None 88 return True, None
89 89
90 def runAsyncCommand(self): 90 def runAsyncCommand(self):