diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py index e6d523210c..beaf089601 100644 --- a/bitbake/lib/bb/data.py +++ b/bitbake/lib/bb/data.py | |||
@@ -148,7 +148,7 @@ def expandKeys(alterdata, readdata = None): | |||
148 | readdata = alterdata | 148 | readdata = alterdata |
149 | 149 | ||
150 | todolist = {} | 150 | todolist = {} |
151 | for key in keys(alterdata): | 151 | for key in alterdata: |
152 | if not '${' in key: | 152 | if not '${' in key: |
153 | continue | 153 | continue |
154 | 154 | ||
@@ -341,7 +341,7 @@ def build_dependencies(key, keys, shelldeps, vardepvals, d): | |||
341 | 341 | ||
342 | def generate_dependencies(d): | 342 | def generate_dependencies(d): |
343 | 343 | ||
344 | keys = set(key for key in d.keys() if not key.startswith("__")) | 344 | keys = set(key for key in d if not key.startswith("__")) |
345 | shelldeps = set(key for key in keys if d.getVarFlag(key, "export") and not d.getVarFlag(key, "unexport")) | 345 | shelldeps = set(key for key in keys if d.getVarFlag(key, "export") and not d.getVarFlag(key, "unexport")) |
346 | vardepvals = set(key for key in keys if d.getVarFlag(key, "vardepvalue")) | 346 | vardepvals = set(key for key in keys if d.getVarFlag(key, "vardepvalue")) |
347 | 347 | ||