summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-12 09:12:36 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-12 09:12:36 +0000
commite7e29b4f5bfc89356a7c355341b56cd550e59847 (patch)
tree1d3b3c3b3bd528e0b58808041d257c11d44b5de1
parentcdbd97d9a164135feaf552f5087266a41b565fa0 (diff)
downloadportage-e7e29b4f5bfc89356a7c355341b56cd550e59847.tar.gz
portage-e7e29b4f5bfc89356a7c355341b56cd550e59847.tar.bz2
portage-e7e29b4f5bfc89356a7c355341b56cd550e59847.zip
Add "reset" to the list of attributes.
svn path=/main/trunk/; revision=7242
-rw-r--r--man/color.map.52
-rw-r--r--pym/portage/output.py3
2 files changed, 4 insertions, 1 deletions
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"]