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-22 11:35:19 +0000 |
| commit | cc2744267f6c6daa594b8c4381d56ac27fe70b81 (patch) | |
| tree | 873e26c071fa04f2fe54658c600baf2ed5071616 /meta/classes/utility-tasks.bbclass | |
| parent | d60ede331558efc93011dee6f157028174b9c5a1 (diff) | |
| download | poky-cc2744267f6c6daa594b8c4381d56ac27fe70b81.tar.gz | |
meta: replace uses of bb.data.expand(VARNAME, d) with d.expand(VARNAME)
bb.data.expand(x, d) is deprecated API.
[YOCTO #10678]
(From OE-Core rev: a361babe443da635aed83be46679067457fd6a58)
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() { | |||
| 28 | bb.note("Removing " + dir) | 28 | bb.note("Removing " + dir) |
| 29 | oe.path.remove(dir) | 29 | oe.path.remove(dir) |
| 30 | 30 | ||
| 31 | dir = "%s.*" % bb.data.expand(d.getVar('STAMP', False), d) | 31 | dir = "%s.*" % d.getVar('STAMP') |
| 32 | bb.note("Removing " + dir) | 32 | bb.note("Removing " + dir) |
| 33 | oe.path.remove(dir) | 33 | oe.path.remove(dir) |
| 34 | 34 | ||
