diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index b7d7a7ec21..0e78106d29 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -141,7 +141,7 @@ class EventWriter: | |||
141 | else: | 141 | else: |
142 | # init on bb.event.BuildStarted | 142 | # init on bb.event.BuildStarted |
143 | name = "%s.%s" % (event.__module__, event.__class__.__name__) | 143 | name = "%s.%s" % (event.__module__, event.__class__.__name__) |
144 | if name == "bb.event.BuildStarted": | 144 | if name in ("bb.event.BuildStarted", "bb.cooker.CookerExit"): |
145 | with open(self.eventfile, "w") as f: | 145 | with open(self.eventfile, "w") as f: |
146 | f.write("%s\n" % json.dumps({ "allvariables" : self.cooker.getAllKeysWithFlags(["doc", "func"])})) | 146 | f.write("%s\n" % json.dumps({ "allvariables" : self.cooker.getAllKeysWithFlags(["doc", "func"])})) |
147 | 147 | ||