Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: lib/_emerge/resolver/
Date: Mon, 04 Oct 2021 00:24:41
Message-Id: 1633307071.601b5728bc0c1f76c28d41aae68fd946f19fd0f9.sam@gentoo
1 commit: 601b5728bc0c1f76c28d41aae68fd946f19fd0f9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 1 06:17:12 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 4 00:24:31 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=601b5728
7
8 lib/_emerge/resolver/output_helpers.py: explicitly state 'all satisfied'
9
10 This makes things a bit less confusing and tries to avoid
11 users focusing on (soft) blocks which aren't actually
12 the problem they're hitting.
13
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15 Closes: https://github.com/gentoo/portage/pull/760
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 lib/_emerge/resolver/output_helpers.py | 2 ++
19 1 file changed, 2 insertions(+)
20
21 diff --git a/lib/_emerge/resolver/output_helpers.py b/lib/_emerge/resolver/output_helpers.py
22 index f80b79ccf..6ce812189 100644
23 --- a/lib/_emerge/resolver/output_helpers.py
24 +++ b/lib/_emerge/resolver/output_helpers.py
25 @@ -163,6 +163,8 @@ class _PackageCounters:
26 myoutput.append(
27 bad(" (%s unsatisfied)") % (self.blocks - self.blocks_satisfied)
28 )
29 + else:
30 + myoutput.append(" (all satisfied)")
31 return "".join(myoutput)