1 |
commit: a4922d0607c8f3799bdcf70909b451d4d11a3dfa |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 4 02:44:57 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 4 03:10:32 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a4922d06 |
7 |
|
8 |
lib/_emerge/search.py: fix reimported |
9 |
|
10 |
* The bold module is imported twice. Once as 'bold' and again as 'white. |
11 |
Remove the duplication and fix the one reference to 'white' |
12 |
|
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
15 |
|
16 |
lib/_emerge/search.py | 4 ++-- |
17 |
1 file changed, 2 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/lib/_emerge/search.py b/lib/_emerge/search.py |
20 |
index a4ad74311..a59191c1a 100644 |
21 |
--- a/lib/_emerge/search.py |
22 |
+++ b/lib/_emerge/search.py |
23 |
@@ -9,7 +9,7 @@ from portage.dbapi.porttree import _parse_uri_map |
24 |
from portage.dbapi.IndexedPortdb import IndexedPortdb |
25 |
from portage.dbapi.IndexedVardb import IndexedVardb |
26 |
from portage.localization import localized_size |
27 |
-from portage.output import bold, bold as white, darkgreen, green, red |
28 |
+from portage.output import bold, darkgreen, green, red |
29 |
from portage.util import writemsg_stdout |
30 |
from portage.util.iterators.MultiIterGroupBy import MultiIterGroupBy |
31 |
|
32 |
@@ -413,7 +413,7 @@ class search: |
33 |
|
34 |
if masked: |
35 |
msg.append(green("*") + " " + \ |
36 |
- white(match) + " " + red("[ Masked ]") + "\n") |
37 |
+ bold(match) + " " + red("[ Masked ]") + "\n") |
38 |
else: |
39 |
msg.append(green("*") + " " + bold(match) + "\n") |
40 |
myversion = self.getVersion(full_package, search.VERSION_RELEASE) |