From 74016daa3a9131129974463452221e4a740bb860 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 4 Oct 2009 01:52:51 +0100 Subject: bitbake: Remove unused and hence pointless internal__functions__ variable Signed-off-by: Richard Purdie --- bitbake/lib/bb/parse/parse_py/BBHandler.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index d13428aa0b..e918ce3bb8 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 -- cgit v1.2.3-54-g00ecf