]> code.ossystems Code Review - openembedded-core.git/commitdiff
sstate: Move debug comment to more logical place
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Jan 2013 13:37:39 +0000 (13:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Jan 2013 14:07:57 +0000 (14:07 +0000)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sstate.bbclass

index edddd2fa7599e1d1f3d1f00a43ce5a0c233de5d7..a79d2b557ebd32510ebfedb1c1e2203c9a09bf0d 100644 (file)
@@ -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])