diff options
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index a7fb44d7d..c0cc9c6ea 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py @@ -326,7 +326,7 @@ def better_exec(code, context, text, realfile): """ import bb.parse try: - exec code in _context, context + exec(code, _context, context) except: (t, value, tb) = sys.exc_info() @@ -349,7 +349,7 @@ def better_exec(code, context, text, realfile): raise def simple_exec(code, context): - exec code in _context, context + exec(code, _context, context) def better_eval(source, locals): return eval(source, _context, locals) |