diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-09-15 15:54:49 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-18 11:07:30 +0100 |
commit | ec5a5f28e2b517b04add20768d09e33b5c62d292 (patch) | |
tree | ea523291b03c05d207efee0578b8973d12c959c4 /scripts | |
parent | 80aa68fa758652b168bbd9235f8e8b77d7904cf5 (diff) | |
download | poky-ec5a5f28e2b517b04add20768d09e33b5c62d292.tar.gz |
scripts/oe-build-perf-report: fix dumping buildstats
Fix a misbehavior when some of the buildstats are missing.
(From OE-Core rev: 2930515acb5cfdcd335a76ae36fd9f7189207aa3)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-build-perf-report | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index b5ad42bc8a..23081db173 100755 --- a/scripts/oe-build-perf-report +++ b/scripts/oe-build-perf-report | |||
@@ -422,6 +422,7 @@ def dump_buildstats(repo, outdir, notes_ref, revs): | |||
422 | 'show', tag + '^0'])) | 422 | 'show', tag + '^0'])) |
423 | except GitError: | 423 | except GitError: |
424 | log.warning("Buildstats not found for %s", tag) | 424 | log.warning("Buildstats not found for %s", tag) |
425 | bs_all = {} | ||
425 | missing = True | 426 | missing = True |
426 | for measurement, buildstats in bs_all.items(): | 427 | for measurement, buildstats in bs_all.items(): |
427 | tag_base, run_id = tag.rsplit('/', 1) | 428 | tag_base, run_id = tag.rsplit('/', 1) |