diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-02 23:49:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-04 23:47:43 +0000 |
commit | 7c3b99c6a716095af3ffce0b15110e91fb49c913 (patch) | |
tree | c60591fce15be9ab72cef7dd98ef53bc60f65070 /lib/bb/utils.py | |
parent | 54a3864246f2be0b62761f639a1d5c9407aded4f (diff) | |
download | bitbake-contrib-7c3b99c6a716095af3ffce0b15110e91fb49c913.tar.gz |
lib/bb: Add expansion parameter to getVarFlag
This sets the scene for removing the default False for expansion from
getVarFlag. This would later allow True to become the expand default.
On the most part this is an automatic translation with:
sed -e 's:\(\.getVarFlag([^,()]*, [^,()]*\)):\1, False):g' -i `grep -ril getVar *`
There should be no functional change from this patch.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/utils.py')
-rw-r--r-- | lib/bb/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/utils.py b/lib/bb/utils.py index ae10213ed..9730b514e 100644 --- a/lib/bb/utils.py +++ b/lib/bb/utils.py @@ -631,7 +631,7 @@ def build_environment(d): """ import bb.data for var in bb.data.keys(d): - export = d.getVarFlag(var, "export") + export = d.getVarFlag(var, "export", False) if export: os.environ[var] = d.getVar(var, True) or "" |