diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-03-30 16:21:23 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-03-30 16:21:25 -0700 |
commit | 49534d928a37e0804ca84eed186cd22363023b2e (patch) | |
tree | d921ecf0b9c999774644254ed087211b46cbff8f /lib/bb/event.py | |
parent | b32f9759550dae02ca6e618050059a8deac6c650 (diff) | |
download | bitbake-49534d928a37e0804ca84eed186cd22363023b2e.tar.gz |
Two minor changes to the way python snippet expansion happens
- Use a single dictionary for the context, both global & local, since for some
reason it chokes wanting a global "d" rather than a local in the metadata.
- First compile the string into a code object before running eval, so we can
include the variable name in an evaluation error.
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/event.py')
0 files changed, 0 insertions, 0 deletions