aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-08-03 22:44:57 -0400
committerZac Medico <zmedico@gentoo.org>2020-08-03 20:10:32 -0700
commita4922d0607c8f3799bdcf70909b451d4d11a3dfa (patch)
treea96ff20816f04c840f55d88d37641ada25ca5d76 /lib/_emerge
parentlib/portage/util/socks5.py: fix reimport (diff)
downloadportage-a4922d0607c8f3799bdcf70909b451d4d11a3dfa.tar.gz
portage-a4922d0607c8f3799bdcf70909b451d4d11a3dfa.tar.bz2
portage-a4922d0607c8f3799bdcf70909b451d4d11a3dfa.zip
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@gentoo.org> Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/_emerge')
-rw-r--r--lib/_emerge/search.py4
1 files 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)