From: Zac Medico Date: Wed, 17 Jun 2009 04:04:46 +0000 (-0000) Subject: Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write(). X-Git-Tag: v2.2_rc34~192 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7949285d111a1fa6cf594969f86e35c3d8a119b1;p=portage.git Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write(). svn path=/main/trunk/; revision=13644 --- 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: