diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-06-17 04:04:46 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-06-17 04:04:46 +0000 |
commit | 7949285d111a1fa6cf594969f86e35c3d8a119b1 (patch) | |
tree | 5e562aa92b4ca2856c2b5e115bf00f00acd3005f | |
parent | 9f2484465799cf8dc74850938e3eceb7d54d5b72 (diff) | |
download | portage-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
-rw-r--r-- | pym/portage/output.py | 2 |
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: |