diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-18 11:46:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-18 12:35:18 +0000 |
commit | 9753283a3fe417ba827e4cee153184b6a25699de (patch) | |
tree | fdaba27dacc7e67837acfb1fa690747e856bff3b /bitbake/lib/bb/parse | |
parent | 3db277b18b8923daca545aa53bcfbbe9d43d3baa (diff) | |
download | poky-9753283a3fe417ba827e4cee153184b6a25699de.tar.gz |
bitbake: BBHandler/data: Standardise some setVar access formats
(Bitbake rev: e12c1a485f96a4701144ac81179ae1af348e5bf3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 2ee8ebd28f..c585b60fee 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -84,7 +84,7 @@ def inherit(files, fn, lineno, d): | |||
84 | if not file in __inherit_cache: | 84 | if not file in __inherit_cache: |
85 | logger.log(logging.DEBUG -1, "BB %s:%d: inheriting %s", fn, lineno, file) | 85 | logger.log(logging.DEBUG -1, "BB %s:%d: inheriting %s", fn, lineno, file) |
86 | __inherit_cache.append( file ) | 86 | __inherit_cache.append( file ) |
87 | data.setVar('__inherit_cache', __inherit_cache, d) | 87 | d.setVar('__inherit_cache', __inherit_cache) |
88 | include(fn, file, lineno, d, "inherit") | 88 | include(fn, file, lineno, d, "inherit") |
89 | __inherit_cache = d.getVar('__inherit_cache') or [] | 89 | __inherit_cache = d.getVar('__inherit_cache') or [] |
90 | 90 | ||
@@ -134,7 +134,7 @@ def handle(fn, d, include): | |||
134 | __inherit_cache = d.getVar('__inherit_cache') or [] | 134 | __inherit_cache = d.getVar('__inherit_cache') or [] |
135 | if not fn in __inherit_cache: | 135 | if not fn in __inherit_cache: |
136 | __inherit_cache.append(fn) | 136 | __inherit_cache.append(fn) |
137 | data.setVar('__inherit_cache', __inherit_cache, d) | 137 | d.setVar('__inherit_cache', __inherit_cache) |
138 | 138 | ||
139 | if include != 0: | 139 | if include != 0: |
140 | oldfile = d.getVar('FILE') | 140 | oldfile = d.getVar('FILE') |
@@ -151,7 +151,7 @@ def handle(fn, d, include): | |||
151 | 151 | ||
152 | # DONE WITH PARSING... time to evaluate | 152 | # DONE WITH PARSING... time to evaluate |
153 | if ext != ".bbclass": | 153 | if ext != ".bbclass": |
154 | data.setVar('FILE', abs_fn, d) | 154 | d.setVar('FILE', abs_fn) |
155 | 155 | ||
156 | try: | 156 | try: |
157 | statements.eval(d) | 157 | statements.eval(d) |