From: Richard Purdie Date: Tue, 29 Jan 2013 13:37:39 +0000 (+0000) Subject: sstate: Move debug comment to more logical place X-Git-Tag: rev_ivi_2015_02_04~14009 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45b95bb8645a6d8a901f6ba3d8946847c3e98add;p=scm%2Fbb%2Ftizen-distro.git sstate: Move debug comment to more logical place The same log message gets output multiple times in the log which look confusing and is rather pointless. Move the log message to the correct level. (From OE-Core rev: 3917409004a830e7ad0646f05ad7421385cbd1de) Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index edddd2f..a79d2b5 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -146,8 +146,8 @@ def sstate_install(ss, d): locks.append(bb.utils.lockfile(lock)) for state in ss['dirs']: + bb.debug(2, "Staging files from %s to %s" % (state[1], state[2])) for walkroot, dirs, files in os.walk(state[1]): - bb.debug(2, "Staging files from %s to %s" % (state[1], state[2])) for file in files: srcpath = os.path.join(walkroot, file) dstpath = srcpath.replace(state[1], state[2])