summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2017-05-18 18:17:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:29:54 +0100
commita9d02d0ee23dbd212f3d0cb9c7a5624a9c574acc (patch)
tree416874d65142f4e86789718c2161ea71e17b11cb /bitbake
parent3c602dd4a5adbd40a79224452fc20e1a8641c7a1 (diff)
downloadpoky-a9d02d0ee23dbd212f3d0cb9c7a5624a9c574acc.tar.gz
bitbake: BBHandler: Remove old style bb.data.setVar() syntax usage
Fixes except bb.parse.SkipRecipe: > bb.data.setVar("__SKIPPED", True, d) if include == 0: AttributeError: module 'bb.data' has no attribute 'setVar' (Bitbake rev: d43e97226dc7f53592c06a528f20390b68dc854f) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index fe918a41f3..f89ad24273 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -144,7 +144,7 @@ def handle(fn, d, include):
144 try: 144 try:
145 statements.eval(d) 145 statements.eval(d)
146 except bb.parse.SkipRecipe: 146 except bb.parse.SkipRecipe:
147 bb.data.setVar("__SKIPPED", True, d) 147 d.setVar("__SKIPPED", True)
148 if include == 0: 148 if include == 0:
149 return { "" : d } 149 return { "" : d }
150 150