From 2c42fed35a7352eeaacff20aa08614832d236a63 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 26 Jun 2006 05:39:35 +0000 Subject: Allow /etc/portage/color.map to control colors associated with einfo, ewarn, etc... svn path=/main/trunk/; revision=3665 --- pym/portage.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 7f33a2a5b..d1b8a7354 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -2523,6 +2523,10 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m myso=os.uname()[2] mysettings["KVERS"]=myso[1] + # Allow color.map to control colors associated with einfo, ewarn, etc... + for c in ("GOOD", "WARN", "BAD", "HILITE", "BRACKET"): + mysettings[c] = output.codes[c] + def prepare_build_dirs(myroot, mysettings, cleanup): clean_dirs = [mysettings["HOME"]] -- cgit v1.2.3-1-g7c22