public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r13644 - main/trunk/pym/portage
@ 2009-06-17  4:04 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-06-17  4:04 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-06-17 04:04:46 +0000 (Wed, 17 Jun 2009)
New Revision: 13644

Modified:
   main/trunk/pym/portage/output.py
Log:
Use map_code_to_color_code() where appropriate inside ConsoleStyleFile.write().


Modified: main/trunk/pym/portage/output.py
===================================================================
--- main/trunk/pym/portage/output.py	2009-06-16 21:53:17 UTC (rev 13643)
+++ main/trunk/pym/portage/output.py	2009-06-17 04:04:46 UTC (rev 13644)
@@ -339,7 +339,7 @@
 		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:




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-17  4:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17  4:04 [gentoo-commits] portage r13644 - main/trunk/pym/portage Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox