rebuildpacs: Ignore order of problems
If comparing 2 rebuild worthy problems, ignore order of the problems. Fixes #2232
This commit is contained in:
parent
83f1d51c3b
commit
a037f08cb0
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user