[oe-commits] [openembedded-core] 06/68: scripts/buildstats-diff: fix epoch numbers in --ver-diff

git at git.openembedded.org git at git.openembedded.org
Thu Feb 23 20:50:37 UTC 2017

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit d3f4ec2ad5e83f52f7d3824cfe1f5a64f2d81bcf
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: 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)
    Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 scripts/buildstats-diff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:")
         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))

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list