summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-04-05 10:22:42 +0000
committerZac Medico <zmedico@gentoo.org>2006-04-05 10:22:42 +0000
commitaa4892ccf483cb8da8fe59a318ce9251fdac4d23 (patch)
treee4ddaaad01516ccd7cb8ef2a4d1766616361f3fa
parent0e325999a2048339bd00cacd1c45ae787bf88bcd (diff)
downloadportage-aa4892ccf483cb8da8fe59a318ce9251fdac4d23.tar.gz
portage-aa4892ccf483cb8da8fe59a318ce9251fdac4d23.tar.bz2
portage-aa4892ccf483cb8da8fe59a318ce9251fdac4d23.zip
Move some color mappings to ensure that they do not override the user defined color map.
svn path=/main/trunk/; revision=3076
-rw-r--r--pym/output.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pym/output.py b/pym/output.py
index 46aab8f42..6884e504a 100644
--- a/pym/output.py
+++ b/pym/output.py
@@ -111,6 +111,11 @@ codes["turquoise"] = codes["0x55FFFF"]
codes["white"] = codes["0xFFFFFF"]
codes["lightgray"] = codes["0xAAAAAA"]
+codes["darkteal"] = codes["turquoise"]
+codes["darkyellow"] = codes["brown"]
+codes["fuscia"] = codes["fuchsia"]
+codes["white"] = codes["bold"]
+
def parse_color_map():
myfile = COLOR_MAP_FILE
ansi_code_pattern = re.compile("^[0-9;]*m$")
@@ -198,11 +203,6 @@ def resetColor():
def colorize(color_key, text):
return codes[color_key] + text + codes["reset"]
-codes["darkteal"] = codes["turquoise"]
-codes["darkyellow"] = codes["brown"]
-codes["fuscia"] = codes["fuchsia"]
-codes["white"] = codes["bold"]
-
compat_functions_colors = ["bold","white","teal","turquoise","darkteal",
"fuscia","fuchsia","purple","blue","darkblue","green","darkgreen","yellow",
"brown","darkyellow","red","darkred"]