summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/parse
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-10-04 01:52:51 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-10-13 08:38:13 +0100
commit74016daa3a9131129974463452221e4a740bb860 (patch)
tree645f3e1e344d531e5e380c491505087c6f9090b5 /bitbake-dev/lib/bb/parse
parentdbf6a79be28ab6a3d66dd562e56b8207463f9109 (diff)
downloadopenembedded-core-74016daa3a9131129974463452221e4a740bb860.tar.gz
openembedded-core-74016daa3a9131129974463452221e4a740bb860.tar.bz2
openembedded-core-74016daa3a9131129974463452221e4a740bb860.zip
bitbake: Remove unused and hence pointless internal__functions__ variable
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake-dev/lib/bb/parse')
-rw-r--r--bitbake-dev/lib/bb/parse/parse_py/BBHandler.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py b/bitbake-dev/lib/bb/parse/parse_py/BBHandler.py
index 5a128e8673..f92b31fd0a 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