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/archiver.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/archiver.bbclass')
-rw-r--r-- | meta/classes/archiver.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index ee4790dd68..2c04557f79 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass | |||
@@ -365,7 +365,7 @@ python do_ar_recipe () { | |||
365 | elif include_re.match(line): | 365 | elif include_re.match(line): |
366 | incfile = include_re.match(line).group(1) | 366 | incfile = include_re.match(line).group(1) |
367 | if incfile: | 367 | if incfile: |
368 | incfile = bb.data.expand(incfile, d) | 368 | incfile = d.expand(incfile) |
369 | incfile = bb.utils.which(bbpath, incfile) | 369 | incfile = bb.utils.which(bbpath, incfile) |
370 | if incfile: | 370 | if incfile: |
371 | shutil.copy(incfile, outdir) | 371 | shutil.copy(incfile, outdir) |