diff options
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/codeparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py index 83bbb927a0..0dd9a365ee 100644 --- a/bitbake/lib/bb/codeparser.py +++ b/bitbake/lib/bb/codeparser.py | |||
@@ -227,7 +227,7 @@ class PythonParser(): | |||
227 | elif self.compare_name(self.expands, node.func): | 227 | elif self.compare_name(self.expands, node.func): |
228 | if isinstance(node.args[0], ast.Str): | 228 | if isinstance(node.args[0], ast.Str): |
229 | self.warn(node.func, node.args[0]) | 229 | self.warn(node.func, node.args[0]) |
230 | self.var_expands.update(node.args[0].s) | 230 | self.var_expands.add(node.args[0].s) |
231 | elif isinstance(node.args[0], ast.Call) and \ | 231 | elif isinstance(node.args[0], ast.Call) and \ |
232 | self.compare_name(self.getvars, node.args[0].func): | 232 | self.compare_name(self.getvars, node.args[0].func): |
233 | pass | 233 | pass |