diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-18 13:50:04 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-18 13:50:57 +0000 |
commit | 9f3681dca555c1520ca33ca25ff75e8ba3caee80 (patch) | |
tree | 875196258d634e58418287a1cce707a68426b927 /meta/classes/buildstats-summary.bbclass | |
parent | 522dcaa0cb6e099665a29ea1c585270563d33e94 (diff) | |
download | poky-9f3681dca555c1520ca33ca25ff75e8ba3caee80.tar.gz |
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>
Diffstat (limited to 'meta/classes/buildstats-summary.bbclass')
-rw-r--r-- | meta/classes/buildstats-summary.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/buildstats-summary.bbclass b/meta/classes/buildstats-summary.bbclass index 05ead9fdbf..d73350b940 100644 --- a/meta/classes/buildstats-summary.bbclass +++ b/meta/classes/buildstats-summary.bbclass | |||
@@ -3,8 +3,7 @@ python buildstats_summary () { | |||
3 | import collections | 3 | import collections |
4 | import os.path | 4 | import os.path |
5 | 5 | ||
6 | bn = get_bn(e) | 6 | bsdir = e.data.expand("${BUILDSTATS_BASE}/${BUILDNAME}") |
7 | bsdir = os.path.join(e.data.getVar('BUILDSTATS_BASE', True), bn) | ||
8 | if not os.path.exists(bsdir): | 7 | if not os.path.exists(bsdir): |
9 | return | 8 | return |
10 | 9 | ||