1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

buildstats-summary/toaster: Cope with removal of get_bn()

The buildstats changes removed the no longer needed get_bn() function,
replace this with references to BUILDNAME.

(From OE-Core rev: e1a37899da56014693f08d1c39cb6ec0a4ed2bf4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2015-12-18 13:50:04 +00:00
parent 522dcaa0cb
commit 9f3681dca5
2 changed files with 2 additions and 5 deletions
+1 -2
View File
@@ -3,8 +3,7 @@ python buildstats_summary () {
import collections
import os.path
bn = get_bn(e)
bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn)
bsdir = e.data.expand("${BUILDSTATS_BASE}/${BUILDNAME}")
if not os.path.exists(bsdir):
return