commit: a4922d0607c8f3799bdcf70909b451d4d11a3dfa
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 4 02:44:57 2020 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Aug 4 03:10:32 2020 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a4922d06
lib/_emerge/search.py: fix reimported
* 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 <bman <AT> gentoo.org>
Signed-off-by: Zac Medico <zmedico <AT> 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)