diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-25 15:28:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-30 15:48:09 +0000 |
commit | ddaac5e4e3ebe71cb279a33a6585b3e8a8790e55 (patch) | |
tree | 5dc9c0d3e1da1edacad1e6b8748c4db22026f011 /bitbake/lib/bb/parse | |
parent | 1fce7ecbbb004a5ad82da3eef79cfd52b276708d (diff) | |
download | poky-ddaac5e4e3ebe71cb279a33a6585b3e8a8790e55.tar.gz |
bitbake: bitbake: remove True option to getVarFlag calls
getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.
Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)
(Bitbake rev: c19baa8c19ea8ab9b9b64fd30298d8764c6fd2cd)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index a3990e5b3e..7020940df9 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -347,7 +347,7 @@ def finalize(fn, d, variant = None): | |||
347 | if not handlerfn: | 347 | if not handlerfn: |
348 | bb.fatal("Undefined event handler function '%s'" % var) | 348 | bb.fatal("Undefined event handler function '%s'" % var) |
349 | handlerln = int(d.getVarFlag(var, "lineno", False)) | 349 | handlerln = int(d.getVarFlag(var, "lineno", False)) |
350 | bb.event.register(var, d.getVar(var, False), (d.getVarFlag(var, "eventmask", True) or "").split(), handlerfn, handlerln) | 350 | bb.event.register(var, d.getVar(var, False), (d.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln) |
351 | 351 | ||
352 | bb.event.fire(bb.event.RecipePreFinalise(fn), d) | 352 | bb.event.fire(bb.event.RecipePreFinalise(fn), d) |
353 | 353 | ||