[oe-commits] [bitbake] 01/06: cache: Move the parsing message to a more logical place

git at git.openembedded.org git at git.openembedded.org
Fri Jul 22 10:41:47 UTC 2016


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

commit b48d95677a4d285a77cda2892179965f7f8f06dd
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Jul 21 17:25:19 2016 +0100

    cache: Move the parsing message to a more logical place
    
    Otherwise you can look at the log and wonder why parsing isn't happening
    when it really is due to other code paths.
    
    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 96abd71..afd373d 100644
--- a/lib/bb/cache.py
+++ b/lib/bb/cache.py
@@ -395,6 +395,7 @@ class Cache(object):
     @classmethod
     def parse(cls, filename, appends, configdata, caches_array):
         """Parse the specified filename, returning the recipe information"""
+        logger.debug(1, "Parsing %s", filename)
         infos = []
         datastores = cls.load_bbfile(filename, appends, configdata)
         depends = []
@@ -432,7 +433,6 @@ class Cache(object):
                 virtualfn = self.realfn2virtual(filename, variant)
                 infos.append((virtualfn, self.depends_cache[virtualfn]))
         else:
-            logger.debug(1, "Parsing %s", filename)
             return self.parse(filename, appends, configdata, self.caches_array)
 
         return cached, infos

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


More information about the Openembedded-commits mailing list