diff options
-rw-r--r-- | bitbake-dev/lib/bb/parse/parse_py/BBHandler.py | 7 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 7 |
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 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): | |||
240 | if not root in __parsed_methods__: | 240 | if not root in __parsed_methods__: |
241 | text = '\n'.join(__body__) | 241 | text = '\n'.join(__body__) |
242 | methodpool.insert_method( root, text, fn ) | 242 | methodpool.insert_method( root, text, fn ) |
243 | funcs = data.getVar('__functions__', d) or {} | ||
244 | if not funcs.has_key( root ): | ||
245 | funcs[root] = text | ||
246 | else: | ||
247 | funcs[root] = "%s\n%s" % (funcs[root], text) | ||
248 | |||
249 | data.setVar('__functions__', funcs, d) | ||
250 | __body__ = [] | 243 | __body__ = [] |
251 | __inpython__ = False | 244 | __inpython__ = False |
252 | 245 | ||
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 | ||