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/cookerdata.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/cookerdata.py')
-rw-r--r-- | lib/bb/cookerdata.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/bb/cookerdata.py b/lib/bb/cookerdata.py index 24bf09c56..b86e7d446 100644 --- a/lib/bb/cookerdata.py +++ b/lib/bb/cookerdata.py @@ -143,16 +143,10 @@ class CookerConfiguration(object): setattr(self, key, parameters.options.__dict__[key]) self.env = parameters.environment.copy() - def setServerRegIdleCallback(self, srcb): - self.server_register_idlecallback = srcb - def __getstate__(self): state = {} for key in self.__dict__.keys(): - if key == "server_register_idlecallback": - state[key] = None - else: - state[key] = getattr(self, key) + state[key] = getattr(self, key) return state def __setstate__(self,state): |