diff options
Diffstat (limited to 'bitbake/lib/bb/utils.py')
-rw-r--r-- | bitbake/lib/bb/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 50e9402a2b..2e3937ec12 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -222,6 +222,9 @@ def better_exec(code, context, text, realfile): | |||
222 | 222 | ||
223 | raise | 223 | raise |
224 | 224 | ||
225 | def simple_exec(code, context): | ||
226 | exec code in _context, context | ||
227 | |||
225 | def better_eval(source, locals): | 228 | def better_eval(source, locals): |
226 | return eval(source, _context, locals) | 229 | return eval(source, _context, locals) |
227 | 230 | ||