]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: Remove unused and hence pointless internal__functions__ variable
authorRichard Purdie <rpurdie@linux.intel.com>
Sun, 4 Oct 2009 00:52:51 +0000 (01:52 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 13 Oct 2009 07:38:13 +0000 (08:38 +0100)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake-dev/lib/bb/parse/parse_py/BBHandler.py
bitbake/lib/bb/parse/parse_py/BBHandler.py

index 5a128e8673156c00924fe5e3fb7ab3e553f3a320..f92b31fd0a4f497884ee0916610dfbaecb466290 100644 (file)
@@ -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
 
index d13428aa0b192fe84b5244ae9e13d54726eb6376..e918ce3bb85a6533bfff80e0dfd782b5065aecf1 100644 (file)
@@ -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