Commit ce134cef by Sébastien Eustace Committed by GitHub

Merge pull request #2522 from hainesc/master

Fix wrong indentation in mixology
parents bc9acdbc 6f94c6f5
...@@ -61,18 +61,18 @@ class Incompatibility: ...@@ -61,18 +61,18 @@ class Incompatibility:
else: else:
by_ref[ref] = term by_ref[ref] = term
new_terms = [] new_terms = []
for by_ref in by_name.values(): for by_ref in by_name.values():
positive_terms = [ positive_terms = [
term for term in by_ref.values() if term.is_positive() term for term in by_ref.values() if term.is_positive()
] ]
if positive_terms: if positive_terms:
new_terms += positive_terms new_terms += positive_terms
continue continue
new_terms += list(by_ref.values()) new_terms += list(by_ref.values())
terms = new_terms terms = new_terms
self._terms = terms self._terms = terms
self._cause = cause self._cause = cause
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment