summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bitbake-dev/lib/bb/parse/parse_py/BBHandler.py7
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py7
2 files changed, 0 insertions, 14 deletions
diff --git a/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py b/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py
index 5a128e867..f92b31fd0 100644
--- a/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py
@@ -240,13 +240,6 @@ def feeder(lineno, s, fn, root, d):
if not root in __parsed_methods__:
text = '\n'.join(__body__)
methodpool.insert_method( root, text, fn )
- funcs = data.getVar('__functions__', d) or {}
- if not funcs.has_key( root ):
- funcs[root] = text
- else:
- funcs[root] = "%s\n%s" % (funcs[root], text)
-
- data.setVar('__functions__', funcs, d)
__body__ = []
__inpython__ = False
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index d13428aa0..e918ce3bb 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -234,13 +234,6 @@ def feeder(lineno, s, fn, root, d):
if not root in __parsed_methods__:
text = '\n'.join(__body__)
methodpool.insert_method( root, text, fn )
- funcs = data.getVar('__functions__', d) or {}
- if not funcs.has_key( root ):
- funcs[root] = text
- else:
- funcs[root] = "%s\n%s" % (funcs[root], text)
-
- data.setVar('__functions__', funcs, d)
__body__ = []
__inpython__ = False