[03/17] sstate: Move debug comment to more logical place

Submitted by Richard Purdie on Jan. 30, 2013, 2 p.m.


Message ID 0f303a349d4dd899e68c5356d4cac1319bce6eb0.1359554291.git.richard.purdie@linuxfoundation.org
State Accepted
Commit b01b1a704bf4d8cf5a7cf9ca7fd0cea08d06969e
Headers show

Commit Message

Richard Purdie Jan. 30, 2013, 2 p.m.
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

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
 meta/classes/sstate.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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):
     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])