From e7e29b4f5bfc89356a7c355341b56cd550e59847 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 12 Jul 2007 09:12:36 +0000 Subject: Add "reset" to the list of attributes. svn path=/main/trunk/; revision=7242 --- man/color.map.5 | 2 ++ pym/portage/output.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/man/color.map.5 b/man/color.map.5 index 7a0f1b2ec..bf63bbaed 100644 --- a/man/color.map.5 +++ b/man/color.map.5 @@ -123,6 +123,8 @@ Defines color used for warnings. .B Other attributes .RS .TP +.B reset +.TP .B bold .TP .B faint diff --git a/pym/portage/output.py b/pym/portage/output.py index e390b8807..9f0b7950b 100644 --- a/pym/portage/output.py +++ b/pym/portage/output.py @@ -129,7 +129,8 @@ codes["bg_lightgray"] = esc_seq + "47m" codes["bg_darkyellow"] = codes["bg_brown"] -# Colors from /sbin/functions.sh +# Colors from /etc/init.d/functions.sh +codes["NORMAL"] = esc_seq + "0m" codes["GOOD"] = codes["green"] codes["WARN"] = codes["yellow"] codes["BAD"] = codes["red"] -- cgit v1.2.3-1-g7c22