diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-14 21:13:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 10:23:23 +0000 |
commit | 3c59b1bf93adb0b9f723bda1d8702c8720733677 (patch) | |
tree | d1939643e2d02f0ce2e9ef33e235cd23cd5000d3 /meta/lib/oe/sstatesig.py | |
parent | c0f2890c01882e9ea14e781c044f3a84f75bd0fc (diff) | |
download | poky-3c59b1bf93adb0b9f723bda1d8702c8720733677.tar.gz |
meta: 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\)
(From OE-Core rev: 2dea9e490a98377010b3d4118d054814c317a735)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/sstatesig.py')
-rw-r--r-- | meta/lib/oe/sstatesig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py index e053c37e96..bd11e2f888 100644 --- a/meta/lib/oe/sstatesig.py +++ b/meta/lib/oe/sstatesig.py | |||
@@ -348,7 +348,7 @@ def sstate_get_manifest_filename(task, d): | |||
348 | Also returns the datastore that can be used to query related variables. | 348 | Also returns the datastore that can be used to query related variables. |
349 | """ | 349 | """ |
350 | d2 = d.createCopy() | 350 | d2 = d.createCopy() |
351 | extrainf = d.getVarFlag("do_" + task, 'stamp-extra-info', True) | 351 | extrainf = d.getVarFlag("do_" + task, 'stamp-extra-info') |
352 | if extrainf: | 352 | if extrainf: |
353 | d2.setVar("SSTATE_MANMACH", extrainf) | 353 | d2.setVar("SSTATE_MANMACH", extrainf) |
354 | return (d2.expand("${SSTATE_MANFILEPREFIX}.%s" % task), d2) | 354 | return (d2.expand("${SSTATE_MANFILEPREFIX}.%s" % task), d2) |