diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-15 11:54:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-25 22:25:08 +0000 |
commit | 047fd7cf6fc2a3d5d170241f5cc5b61b8d9d8522 (patch) | |
tree | e3de4774ea82f1329c4d54f6f685df28a4a772e2 | |
parent | ed10ef4f8deaec739ce3713b6ce3b63e134a8c4a (diff) | |
download | openembedded-core-047fd7cf6fc2a3d5d170241f5cc5b61b8d9d8522.tar.gz openembedded-core-047fd7cf6fc2a3d5d170241f5cc5b61b8d9d8522.tar.bz2 openembedded-core-047fd7cf6fc2a3d5d170241f5cc5b61b8d9d8522.zip |
lib/buildstats: Improve error message
Just stating the recipe counts are different isn't helpful, showing
the differences makes it much easier to understand what changed.
(From OE-Core rev: 1d84b782e3af6f0e6922d72895c905877cc33739)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | scripts/lib/buildstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/buildstats.py b/scripts/lib/buildstats.py index d9aadf3cb8..f7db3eaf92 100644 --- a/scripts/lib/buildstats.py +++ b/scripts/lib/buildstats.py @@ -263,7 +263,7 @@ class BuildStats(dict): """Aggregate other buildstats into this""" if set(self.keys()) != set(buildstats.keys()): raise ValueError("Refusing to aggregate buildstats, set of " - "recipes is different") + "recipes is different: %s" % (set(self.keys()) ^ set(buildstats.keys()))) for pkg, data in buildstats.items(): self[pkg].aggregate(data) |