From a4f7e7433ef6f40af31c0ec7bb80908a0edb12ea Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Thu, 29 Aug 2019 21:42:09 +0000 Subject: [PATCH] switch impossible depends to detailed excuse info --- britney2/excusefinder.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/britney2/excusefinder.py b/britney2/excusefinder.py index 9f91c43..3e054ff 100644 --- a/britney2/excusefinder.py +++ b/britney2/excusefinder.py @@ -657,7 +657,11 @@ class ExcuseFinder(object): if arch_ok: ok = True if not ok: - e.addhtml("Impossible %s: %s -> %s" % (deptype, e.name, d)) + # TODO this should actually invalidate the excuse + # would that be correct in all cases? + # - arch all on non-nobreakall arch? + # - pkg in testing already uninstallable? + e.addinfo("Impossible %s: %s -> %s" % (deptype, e.name, d)) e.addreason(deptype.get_reason()) invalidate_excuses(excuses, actionable_items, unconsidered)