projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f24844
)
Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write().
author
Zac Medico
<zmedico@gentoo.org>
Wed, 17 Jun 2009 04:04:46 +0000
(
04:04
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 17 Jun 2009 04:04:46 +0000
(
04:04
-0000)
svn path=/main/trunk/; revision=13644
pym/portage/output.py
patch
|
blob
|
history
diff --git
a/pym/portage/output.py
b/pym/portage/output.py
index 2096b24be6bde4e4a881c07d1f4b321c1b9d2bef..fc9c882d24a8bbc37f73cfdbeca7ba6b130802fc 100644
(file)
--- a/
pym/portage/output.py
+++ b/
pym/portage/output.py
@@
-339,7
+339,7
@@
class ConsoleStyleFile(object):
global havecolor
if havecolor and self._styles:
for style in self._styles:
- self._file.write(
color_codes[style]
)
+ self._file.write(
map_code_to_color_code(style)
)
self._file.write(s)
self._file.write(color_codes["reset"])
else: