]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
build: stop injecting os/bb into __builtins__
authorChris Larson <chris_larson@mentor.com>
Fri, 17 Dec 2010 15:28:25 +0000 (08:28 -0700)
committerChris Larson <chris_larson@mentor.com>
Fri, 17 Dec 2010 16:36:27 +0000 (09:36 -0700)
commit566657c13de3fefb5043b71de953fb805799da95
tree0995fc9f55395a5516fa96425d6eaa33e81f326f
parentb0cbc728e5285f71d043458b4db71ea6bae7e0cd
build: stop injecting os/bb into __builtins__

For one, we should be able to avoid this via _context in bb.utils.  For two,
__builtins__ only has to exist for CPython, so this causes problems running
bitbake under other python implementations (though we could change to doing
setattr()s against the __builtin__ module, let's avoid this instead).

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/build.py
lib/bb/ui/uihelper.py