summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cookerdata.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-23 10:50:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-24 10:34:53 +0100
commit507d5cc2ccab6e1bff4731cfee663f615dc7ed57 (patch)
treec79f941d5b67db9d866928b3cfdcd125607937e9 /bitbake/lib/bb/cookerdata.py
parentea346917910734b6a9e537f83bd26b18cd3bf4f0 (diff)
downloadpoky-507d5cc2ccab6e1bff4731cfee663f615dc7ed57.tar.gz
bitbake: cooker/cookerdata/event: Improve class handlers management
Similarly to the execution context changes, establish better lifetime management API of the class event handlers. (Bitbake rev: 54e35a6cceead9521f8b1dacd48e55064e85c8bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cookerdata.py')
-rw-r--r--bitbake/lib/bb/cookerdata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index de4331050d..2247f8d3bd 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -174,6 +174,7 @@ class CookerDataBuilder(object):
174 self.tracking = params.tracking 174 self.tracking = params.tracking
175 175
176 bb.utils.set_context(bb.utils.clean_context()) 176 bb.utils.set_context(bb.utils.clean_context())
177 bb.event.set_class_handlers(bb.event.clean_class_handlers())
177 self.data = bb.data.init() 178 self.data = bb.data.init()
178 if self.tracking: 179 if self.tracking:
179 self.data.enableTracking() 180 self.data.enableTracking()