summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-02-15 12:45:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-23 12:49:48 -0800
commit3b17343e6f2a3309e103b208523efdf60e3073f4 (patch)
treeea3a7e1782327598841925aa0ad5c92a9970de79 /scripts
parent73e811190b6c7fab03ee1cc242036efaca912478 (diff)
downloadpoky-3b17343e6f2a3309e103b208523efdf60e3073f4.tar.gz
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildstats-diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildstats-diff b/scripts/buildstats-diff
index 5cea184eb2..adeba44988 100755
--- a/scripts/buildstats-diff
+++ b/scripts/buildstats-diff
@@ -301,7 +301,7 @@ def print_ver_diff(bs1, bs2):
301 print("\nEPOCH CHANGED:") 301 print("\nEPOCH CHANGED:")
302 print("--------------") 302 print("--------------")
303 for pkg in sorted(echanged): 303 for pkg in sorted(echanged):
304 field1 = "{} -> {}".format(pkg, bs1[pkg]['epoch'], bs2[pkg]['epoch']) 304 field1 = "{} -> {}".format(bs1[pkg]['epoch'], bs2[pkg]['epoch'])
305 field2 = "{} -> {}".format(bs1[pkg]['nevr'], bs2[pkg]['nevr']) 305 field2 = "{} -> {}".format(bs1[pkg]['nevr'], bs2[pkg]['nevr'])
306 print(fmt_str.format(pkg, field1, field2, maxlen=maxlen)) 306 print(fmt_str.format(pkg, field1, field2, maxlen=maxlen))
307 307