diff options
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 2 |
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): event.data = d if type(h).__name__ == "code": locals = {"e": event} - exec h in bb.utils._context, locals + bb.utils.simple_exec(h, locals) bb.utils.better_eval("tmpHandler(e)", locals) else: h(event) |