summaryrefslogtreecommitdiff
path: root/scripts/buildstats-diff
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:29:10 -0800
commitd3f4ec2ad5e83f52f7d3824cfe1f5a64f2d81bcf (patch)
tree34c3c218ce22a2c62a597580db2ed96dc408e3b5 /scripts/buildstats-diff
parentf50fd7f247d5bb05bc7d1109c574a682067688da (diff)
downloadopenembedded-core-d3f4ec2ad5e83f52f7d3824cfe1f5a64f2d81bcf.tar.gz
openembedded-core-d3f4ec2ad5e83f52f7d3824cfe1f5a64f2d81bcf.tar.bz2
openembedded-core-d3f4ec2ad5e83f52f7d3824cfe1f5a64f2d81bcf.zip
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@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/buildstats-diff')
-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):
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))