summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-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: