diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-04 01:52:51 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-13 08:38:13 +0100 |
commit | 74016daa3a9131129974463452221e4a740bb860 (patch) | |
tree | 645f3e1e344d531e5e380c491505087c6f9090b5 /bitbake/lib/bb/parse/parse_py/BBHandler.py | |
parent | dbf6a79be28ab6a3d66dd562e56b8207463f9109 (diff) | |
download | poky-74016daa3a9131129974463452221e4a740bb860.tar.gz |
bitbake: Remove unused and hence pointless internal__functions__ variable
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 7 |
1 files changed, 0 insertions, 7 deletions
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): | |||
234 | if not root in __parsed_methods__: | 234 | if not root in __parsed_methods__: |
235 | text = '\n'.join(__body__) | 235 | text = '\n'.join(__body__) |
236 | methodpool.insert_method( root, text, fn ) | 236 | methodpool.insert_method( root, text, fn ) |
237 | funcs = data.getVar('__functions__', d) or {} | ||
238 | if not funcs.has_key( root ): | ||
239 | funcs[root] = text | ||
240 | else: | ||
241 | funcs[root] = "%s\n%s" % (funcs[root], text) | ||
242 | |||
243 | data.setVar('__functions__', funcs, d) | ||
244 | __body__ = [] | 237 | __body__ = [] |
245 | __inpython__ = False | 238 | __inpython__ = False |
246 | 239 | ||