[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7775/8267] scripts/oe-build-perf-report: fix dumping buildstats



commit ec5a5f28e2b517b04add20768d09e33b5c62d292
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   Fri Sep 15 15:54:49 2017 +0300

    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>

 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 b5ad42b..23081db 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):
                                                   'show', tag + '^0']))
             except GitError:
                 log.warning("Buildstats not found for %s", tag)
+                bs_all = {}
                 missing = True
             for measurement, buildstats in bs_all.items():
                 tag_base, run_id = tag.rsplit('/', 1)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]