summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r--bitbake/lib/bb/event.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 8559858f04..f49f71cf71 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -58,7 +58,7 @@ def fire_class_handlers(event, d):
58 event.data = d 58 event.data = d
59 if type(h).__name__ == "code": 59 if type(h).__name__ == "code":
60 locals = {"e": event} 60 locals = {"e": event}
61 exec h in bb.utils._context, locals 61 bb.utils.simple_exec(h, locals)
62 bb.utils.better_eval("tmpHandler(e)", locals) 62 bb.utils.better_eval("tmpHandler(e)", locals)
63 else: 63 else:
64 h(event) 64 h(event)