bitbake: 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. (Bitbake rev: b48d95677a4d285a77cda2892179965f7f8f06dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
36feb38045
commit
b2ef908be1
|
@ -395,6 +395,7 @@ class Cache(object):
|
||||||
@classmethod
|
@classmethod
|
||||||
def parse(cls, filename, appends, configdata, caches_array):
|
def parse(cls, filename, appends, configdata, caches_array):
|
||||||
"""Parse the specified filename, returning the recipe information"""
|
"""Parse the specified filename, returning the recipe information"""
|
||||||
|
logger.debug(1, "Parsing %s", filename)
|
||||||
infos = []
|
infos = []
|
||||||
datastores = cls.load_bbfile(filename, appends, configdata)
|
datastores = cls.load_bbfile(filename, appends, configdata)
|
||||||
depends = []
|
depends = []
|
||||||
|
@ -432,7 +433,6 @@ class Cache(object):
|
||||||
virtualfn = self.realfn2virtual(filename, variant)
|
virtualfn = self.realfn2virtual(filename, variant)
|
||||||
infos.append((virtualfn, self.depends_cache[virtualfn]))
|
infos.append((virtualfn, self.depends_cache[virtualfn]))
|
||||||
else:
|
else:
|
||||||
logger.debug(1, "Parsing %s", filename)
|
|
||||||
return self.parse(filename, appends, configdata, self.caches_array)
|
return self.parse(filename, appends, configdata, self.caches_array)
|
||||||
|
|
||||||
return cached, infos
|
return cached, infos
|
||||||
|
|
Loading…
Reference in New Issue