diff options
author | Richard Purdie <richard@openedhand.com> | 2006-03-20 17:45:11 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-03-20 17:45:11 +0000 |
commit | b26a945734ce271aa7d443ff9e96fe2851b21138 (patch) | |
tree | f540b8d58a7411cf0cabe5c8f4ad40f9f597352a /bitbake/lib/bb/parse/parse_py/BBHandler.py | |
parent | 3cd47ad235d54a9c539ae6fe4a5a2b4b5f7e5621 (diff) | |
download | poky-b26a945734ce271aa7d443ff9e96fe2851b21138.tar.gz |
Update to latest bitbake
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@309 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index fac3e85b36..422ce6f9ef 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -22,7 +22,7 @@ | |||
22 | Place, Suite 330, Boston, MA 02111-1307 USA.""" | 22 | Place, Suite 330, Boston, MA 02111-1307 USA.""" |
23 | 23 | ||
24 | import re, bb, os, sys | 24 | import re, bb, os, sys |
25 | import bb.fetch, bb.build | 25 | import bb.fetch, bb.build, bb.utils |
26 | from bb import debug, data, fetch, fatal | 26 | from bb import debug, data, fetch, fatal |
27 | 27 | ||
28 | from ConfHandler import include, localpath, obtain, init | 28 | from ConfHandler import include, localpath, obtain, init |
@@ -206,8 +206,8 @@ def feeder(lineno, s, fn, d): | |||
206 | return | 206 | return |
207 | else: | 207 | else: |
208 | text = '\n'.join(__body__) | 208 | text = '\n'.join(__body__) |
209 | comp = compile(text, "<bb>", "exec") | 209 | comp = bb.utils.better_compile(text, "<bb>", fn ) |
210 | exec comp in __builtins__ | 210 | bb.utils.better_exec(comp, __builtins__, text, fn) |
211 | __body__ = [] | 211 | __body__ = [] |
212 | __inpython__ = False | 212 | __inpython__ = False |
213 | funcs = data.getVar('__functions__', d) or "" | 213 | funcs = data.getVar('__functions__', d) or "" |