1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

bitbake/BBHandler: Save python functions into the dictonary

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-08-26 18:06:30 +01:00
parent f7627e4f67
commit 13fdd4ae5d
2 changed files with 10 additions and 5 deletions
+3 -2
View File
@@ -183,7 +183,7 @@ def feeder(lineno, s, fn, root, statements):
__body__.append(s)
return
else:
ast.handlePythonMethod(statements, root, __body__, fn)
ast.handlePythonMethod(statements, __inpython__, root, __body__, fn)
__body__ = []
__inpython__ = False
@@ -210,7 +210,8 @@ def feeder(lineno, s, fn, root, statements):
m = __def_regexp__.match(s)
if m:
__body__.append(s)
__inpython__ = True
__inpython__ = m.group(1)
return
m = __export_func_regexp__.match(s)