[oe-commits] [bitbake] 07/09: cache: Cleanup deprecated function usage

git at git.openembedded.org git at git.openembedded.org
Fri Dec 7 12:36:05 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 860b8df177c28f4429988dfa73c7d3129b770d23
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Dec 7 00:05:49 2018 +0000

    cache: Cleanup deprecated function usage
    
    Remove a deprecated warning and stop using our own deprecated API!
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/cache.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/cache.py b/lib/bb/cache.py
index 258d679..65c514b 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -97,7 +97,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
 
         self.skipreason = self.getvar('__SKIPPED', metadata)
         if self.skipreason:
-            self.pn = self.getvar('PN', metadata) or bb.parse.BBHandler.vars_from_file(filename,metadata)[0]
+            self.pn = self.getvar('PN', metadata) or bb.parse.vars_from_file(filename,metadata)[0]
             self.skipped = True
             self.provides  = self.depvar('PROVIDES', metadata)
             self.rprovides = self.depvar('RPROVIDES', metadata)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list