summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-01 21:16:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-01 21:16:57 +0100
commit2607799cfb9312a424d096585a577198d977d379 (patch)
tree914987b415e116da772619e49aea529c9feee22a /bitbake
parentafb863afc342ba09afa280b8b337c078a1d6b287 (diff)
downloadpoky-2607799cfb9312a424d096585a577198d977d379.tar.gz
bitbake: cooker: Avoid tracebacks if data was never setup
Recent changes mean data might not be setup. If its not, avoid tracebacks. (Bitbake rev: 3daff610d9f39d73c80c54d1df46f573666e20db) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 5442f7d225..1f4cc1e96d 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1679,7 +1679,8 @@ class BBCooker:
1679 if self.hashserv: 1679 if self.hashserv:
1680 self.hashserv.process.terminate() 1680 self.hashserv.process.terminate()
1681 self.hashserv.process.join() 1681 self.hashserv.process.join()
1682 bb.event.fire(CookerExit(), self.data) 1682 if hasattr(self, "data"):
1683 bb.event.fire(CookerExit(), self.data)
1683 1684
1684 def shutdown(self, force = False): 1685 def shutdown(self, force = False):
1685 if force: 1686 if force: