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-16 08:19:29 +0000 |
commit | 1d84b782e3af6f0e6922d72895c905877cc33739 (patch) | |
tree | 61a5a9ee87de6f10f3fedcf011e84dbba4f6588a /scripts | |
parent | c66e417d26477d6fa21b291427b75f7929ec120a (diff) | |
download | openembedded-core-1d84b782e3af6f0e6922d72895c905877cc33739.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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) |