diff options
| -rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 2e0647b5df..c4e579d073 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
| @@ -107,14 +107,15 @@ def get_statements(filename, absolute_filename, base_name): | |||
| 107 | return statements | 107 | return statements |
| 108 | 108 | ||
| 109 | def handle(fn, d, include): | 109 | def handle(fn, d, include): |
| 110 | global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__ | 110 | global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__, __inpython__, classes |
| 111 | __body__ = [] | 111 | __body__ = [] |
| 112 | __infunc__ = "" | 112 | __infunc__ = "" |
| 113 | __classname__ = "" | 113 | __classname__ = "" |
| 114 | __residue__ = [] | 114 | __residue__ = [] |
| 115 | 115 | __inpython__ = False | |
| 116 | 116 | ||
| 117 | if include == 0: | 117 | if include == 0: |
| 118 | classes = [ None, ] | ||
| 118 | logger.debug(2, "BB %s: handle(data)", fn) | 119 | logger.debug(2, "BB %s: handle(data)", fn) |
| 119 | else: | 120 | else: |
| 120 | logger.debug(2, "BB %s: handle(data, include)", fn) | 121 | logger.debug(2, "BB %s: handle(data, include)", fn) |
