* The bold module is imported twice. Once as 'bold' and again as 'white. Remove the duplication and fix the one reference to 'white'
Signed-off-by: Aaron Bauman <b...@gentoo.org> --- lib/_emerge/search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/_emerge/search.py b/lib/_emerge/search.py index a4ad74311..a59191c1a 100644 --- a/lib/_emerge/search.py +++ b/lib/_emerge/search.py @@ -9,7 +9,7 @@ from portage.dbapi.porttree import _parse_uri_map from portage.dbapi.IndexedPortdb import IndexedPortdb from portage.dbapi.IndexedVardb import IndexedVardb from portage.localization import localized_size -from portage.output import bold, bold as white, darkgreen, green, red +from portage.output import bold, darkgreen, green, red from portage.util import writemsg_stdout from portage.util.iterators.MultiIterGroupBy import MultiIterGroupBy @@ -413,7 +413,7 @@ class search: if masked: msg.append(green("*") + " " + \ - white(match) + " " + red("[ Masked ]") + "\n") + bold(match) + " " + red("[ Masked ]") + "\n") else: msg.append(green("*") + " " + bold(match) + "\n") myversion = self.getVersion(full_package, search.VERSION_RELEASE) -- 2.28.0