diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2017-03-17 15:53:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-21 22:42:59 +0000 |
commit | a361babe443da635aed83be46679067457fd6a58 (patch) | |
tree | fd1828f316cb001ba1d84d5442f9f03586bea9d4 /meta/classes/utility-tasks.bbclass | |
parent | 716e0524cfbcac2eb272be1014280833b74bc5c4 (diff) | |
download | openembedded-core-a361babe443da635aed83be46679067457fd6a58.tar.gz openembedded-core-a361babe443da635aed83be46679067457fd6a58.tar.bz2 openembedded-core-a361babe443da635aed83be46679067457fd6a58.zip |
meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME)
bb.data.expand(x, d) is deprecated API.
[YOCTO #10678]
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/utility-tasks.bbclass')
-rw-r--r-- | meta/classes/utility-tasks.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass index da69c3a2fb..587bfd4ab5 100644 --- a/meta/classes/utility-tasks.bbclass +++ b/meta/classes/utility-tasks.bbclass @@ -28,7 +28,7 @@ python do_clean() { bb.note("Removing " + dir) oe.path.remove(dir) - dir = "%s.*" % bb.data.expand(d.getVar('STAMP', False), d) + dir = "%s.*" % d.getVar('STAMP') bb.note("Removing " + dir) oe.path.remove(dir) |