rebuildpacs: Ignore order of problems

If comparing 2 rebuild worthy problems, ignore order of the problems.

Fixes #2232
This commit is contained in:
Stephan Kulow 2019-09-26 14:17:40 +02:00
parent 83f1d51c3b
commit a037f08cb0

View File

@ -177,7 +177,7 @@ class RepoChecker():
if not per_source[source]['builds']: # nothing we can do if not per_source[source]['builds']: # nothing we can do
continue continue
old_output = oldstate['check'].get(source, {}).get('problem', []) old_output = oldstate['check'].get(source, {}).get('problem', [])
if old_output == per_source[source]['output']: if sorted(old_output) == sorted(per_source[source]['output']):
self.logger.debug("unchanged problem") self.logger.debug("unchanged problem")
continue continue
self.logger.info("rebuild %s", source) self.logger.info("rebuild %s", source)