summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/parse_py/BBHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/BBHandler.py')
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 18e6868387..584966fea1 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -102,7 +102,7 @@ def get_statements(filename, absolute_filename, base_name):
102 return statements 102 return statements
103 103
104def handle(fn, d, include): 104def handle(fn, d, include):
105 global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __infunc__, __body__, __residue__, __classname__ 105 global __infunc__, __body__, __residue__, __classname__
106 __body__ = [] 106 __body__ = []
107 __infunc__ = [] 107 __infunc__ = []
108 __classname__ = "" 108 __classname__ = ""
@@ -154,7 +154,7 @@ def handle(fn, d, include):
154 return d 154 return d
155 155
156def feeder(lineno, s, fn, root, statements, eof=False): 156def feeder(lineno, s, fn, root, statements, eof=False):
157 global __func_start_regexp__, __inherit_regexp__, __export_func_regexp__, __addtask_regexp__, __addhandler_regexp__, __def_regexp__, __python_func_regexp__, __inpython__, __infunc__, __body__, bb, __residue__, __classname__ 157 global __inpython__, __infunc__, __body__, __residue__, __classname__
158 158
159 # Check tabs in python functions: 159 # Check tabs in python functions:
160 # - def py_funcname(): covered by __inpython__ 160 # - def py_funcname(): covered by __inpython__