summaryrefslogtreecommitdiffstats
path: root/pym/portage/output.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-06-17 04:04:46 +0000
committerZac Medico <zmedico@gentoo.org>2009-06-17 04:04:46 +0000
commit7949285d111a1fa6cf594969f86e35c3d8a119b1 (patch)
tree5e562aa92b4ca2856c2b5e115bf00f00acd3005f /pym/portage/output.py
parent9f2484465799cf8dc74850938e3eceb7d54d5b72 (diff)
downloadportage-7949285d111a1fa6cf594969f86e35c3d8a119b1.tar.gz
portage-7949285d111a1fa6cf594969f86e35c3d8a119b1.tar.bz2
portage-7949285d111a1fa6cf594969f86e35c3d8a119b1.zip
Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write().
svn path=/main/trunk/; revision=13644
Diffstat (limited to 'pym/portage/output.py')
-rw-r--r--pym/portage/output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/output.py b/pym/portage/output.py
index 2096b24be..fc9c882d2 100644
--- 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: