Incorrect data was printed (recipe name instead of epoch number) when
displaying changes in epoch.

Signed-off-by: Markus Lehtonen <[email protected]>
---
 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:")
         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))
 
-- 
2.6.6

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to