summaryrefslogtreecommitdiff
path: root/meta/classes/buildstats.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-15 21:41:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-15 21:41:56 +0000
commit5c4e290899e3b9cafc544c488e20ddbc2065835a (patch)
tree9621dceea4d5e062e7d9fbfdfc8d65d9357690c1 /meta/classes/buildstats.bbclass
parent770f832a0db4eb438ed94d6690d3674aae655e6a (diff)
downloadopenembedded-core-5c4e290899e3b9cafc544c488e20ddbc2065835a.tar.gz
openembedded-core-5c4e290899e3b9cafc544c488e20ddbc2065835a.tar.bz2
openembedded-core-5c4e290899e3b9cafc544c488e20ddbc2065835a.zip
buildstats.bbclass: Fix expand call syntax
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildstats.bbclass')
-rw-r--r--meta/classes/buildstats.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass
index 0a29cfd5e1..f042dd30fa 100644
--- a/meta/classes/buildstats.bbclass
+++ b/meta/classes/buildstats.bbclass
@@ -186,7 +186,7 @@ python run_buildstats () {
##############################################
build_status = os.path.join(bsdir, "build_stats")
file = open(build_status,"a")
- file.write(bb.data.expand("Failed at: ${PF} at task: %s \n", e.task))
+ file.write(bb.data.expand("Failed at: ${PF} at task: %s \n" % e.task, e.data))
file.close()
}