All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cache: Move the parsing message to a more logical place
@ 2016-07-21 16:25 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-07-21 16:25 UTC (permalink / raw)
  To: bitbake-devel

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@linuxfoundation.org>

diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index 96abd71..afd373d 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-21 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-21 16:25 [PATCH] cache: Move the parsing message to a more logical place Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.