diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-07 00:05:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-07 12:38:58 +0000 |
commit | e5c713acb0c773a8fd238cdfe3b3882f2229f4f9 (patch) | |
tree | eac9dba5f2ff46bd7e31e1408a770f74b86050bb /bitbake/lib | |
parent | e089fb1ae0cd1e72c6bf0c367a8311e93fcee7b5 (diff) | |
download | poky-e5c713acb0c773a8fd238cdfe3b3882f2229f4f9.tar.gz |
bitbake: cache: Cleanup deprecated function usage
Remove a deprecated warning and stop using our own deprecated API!
(Bitbake rev: 83ece2c6f4b000e906fec9148f25bd1dff66cfb0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/cache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 258d679dc1..65c514b908 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -97,7 +97,7 @@ class CoreRecipeInfo(RecipeInfoCommon): | |||
97 | 97 | ||
98 | self.skipreason = self.getvar('__SKIPPED', metadata) | 98 | self.skipreason = self.getvar('__SKIPPED', metadata) |
99 | if self.skipreason: | 99 | if self.skipreason: |
100 | self.pn = self.getvar('PN', metadata) or bb.parse.BBHandler.vars_from_file(filename,metadata)[0] | 100 | self.pn = self.getvar('PN', metadata) or bb.parse.vars_from_file(filename,metadata)[0] |
101 | self.skipped = True | 101 | self.skipped = True |
102 | self.provides = self.depvar('PROVIDES', metadata) | 102 | self.provides = self.depvar('PROVIDES', metadata) |
103 | self.rprovides = self.depvar('RPROVIDES', metadata) | 103 | self.rprovides = self.depvar('RPROVIDES', metadata) |