From b16530a37df93851fda35db016775056a6b0c218 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre Date: Thu, 8 Mar 2018 13:27:52 +0100 Subject: [PATCH] Flatten the defaultdict(set) for unsat_deps into a standard dict for output --- britney2/excuse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/excuse.py b/britney2/excuse.py index d7ca525..003aaba 100644 --- a/britney2/excuse.py +++ b/britney2/excuse.py @@ -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: