From 7949285d111a1fa6cf594969f86e35c3d8a119b1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 17 Jun 2009 04:04:46 +0000 Subject: Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write(). svn path=/main/trunk/; revision=13644 --- pym/portage/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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: -- cgit v1.2.3-1-g7c22