From: Zac Medico Date: Wed, 5 Apr 2006 10:22:42 +0000 (-0000) Subject: Move some color mappings to ensure that they do not override the user defined color... X-Git-Tag: v2.1_pre8~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa4892ccf483cb8da8fe59a318ce9251fdac4d23;p=portage.git Move some color mappings to ensure that they do not override the user defined color map. svn path=/main/trunk/; revision=3076 --- 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"]