commit:     727fc844aacc289d93ec6e341ecd94aed0036cc3
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 15 11:16:21 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 15 12:21:24 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=727fc844

bintree: Do not use colorize() for in writemsg()

This does not seem to have any effect, drop it.

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
Part-of: https://github.com/gentoo/portage/pull/1470
Closes: https://github.com/gentoo/portage/pull/1470
Signed-off-by: Sam James <sam <AT> gentoo.org>

 lib/portage/dbapi/bintree.py | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/lib/portage/dbapi/bintree.py b/lib/portage/dbapi/bintree.py
index 77dee37c3a..f88d5e0aad 100644
--- a/lib/portage/dbapi/bintree.py
+++ b/lib/portage/dbapi/bintree.py
@@ -1662,14 +1662,10 @@ class binarytree:
                     if getbinpkg_refresh or repo.frozen:
                         extra_info = exc.extra_info if verbose else ""
                         writemsg(
-                            colorize(
-                                "GOOD",
-                                _(
-                                    "[%s] Local copy of remote index is %s and 
will be used%s."
-                                )
-                                % (binrepo_name, exc.desc, extra_info),
+                            _(
+                                "[%s] Local copy of remote index is %s and 
will be used%s.\n"
                             )
-                            + "\n"
+                            % (binrepo_name, exc.desc, extra_info),
                         )
                     # We are using the cached index, break out of the
                     # ("Packages.gz", "Packages") loop.

Reply via email to