Flatten the defaultdict(set) for unsat_deps into a standard dict for output

This commit is contained in:
Mathieu Trudel-Lapierre 2018-03-08 13:27:52 +01:00
parent f32907acea
commit b16530a37d

View File

@ -263,7 +263,7 @@ class Excuse(object):
if break_deps:
dep_data['unimportant-dependencies'] = sorted(break_deps)
if self.unsat_deps:
dep_data['unsatisfiable-dependencies'] = self.unsat_deps
dep_data['unsatisfiable-dependencies'] = {x: sorted(self.unsat_deps[x]) for x in self.unsat_deps}
if self.needs_approval:
status = 'not-approved'
for h in self.hints: