[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4701/8267] scripts/buildstats-diff: fix epoch numbers in --ver-diff



commit 3b17343e6f2a3309e103b208523efdf60e3073f4
Author: Markus Lehtonen <markus lehtonen linux intel com>
Date:   Wed Feb 15 12:45:27 2017 +0200

    scripts/buildstats-diff: fix epoch numbers in --ver-diff
    
    Incorrect data was printed (recipe name instead of epoch number) when
    displaying changes in epoch.
    
    (From OE-Core rev: 5e2b1bfb684dc76963f692172f7457c2249c3266)
    
    (From OE-Core rev: d3f4ec2ad5e83f52f7d3824cfe1f5a64f2d81bcf)
    
    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/buildstats-diff |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/buildstats-diff b/scripts/buildstats-diff
index 5cea184..adeba44 100755
--- a/scripts/buildstats-diff
+++ b/scripts/buildstats-diff
@@ -301,7 +301,7 @@ def print_ver_diff(bs1, bs2):
         print("\nEPOCH CHANGED:")
         print("--------------")
         for pkg in sorted(echanged):
-            field1 = "{} -> {}".format(pkg, bs1[pkg]['epoch'], bs2[pkg]['epoch'])
+            field1 = "{} -> {}".format(bs1[pkg]['epoch'], bs2[pkg]['epoch'])
             field2 = "{} -> {}".format(bs1[pkg]['nevr'], bs2[pkg]['nevr'])
             print(fmt_str.format(pkg, field1, field2, maxlen=maxlen))
 


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