summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-15 03:02:33 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-15 03:02:33 +0000
commit71616dc38e1b7f24b1193951d72649cbb438cce9 (patch)
tree715cba776545164cad3630e5f12ebc222852720c
parentdd45d2ad497283a79ea15f577b4981d31126ede0 (diff)
downloadportage-71616dc38e1b7f24b1193951d72649cbb438cce9.tar.gz
portage-71616dc38e1b7f24b1193951d72649cbb438cce9.tar.bz2
portage-71616dc38e1b7f24b1193951d72649cbb438cce9.zip
Replace hardcoded green, yellow, and red with GOOD, WARN, and BAD.
svn path=/main/trunk/; revision=8927
-rwxr-xr-xbin/repoman6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index 997c3539a..dcd586559 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1698,15 +1698,15 @@ for x in qacats:
continue
f.add_literal_data(" "+x.ljust(30))
if stats[x]==0:
- f.push_style("green")
+ f.push_style("GOOD")
f.add_literal_data(str(stats[x]))
f.pop_style()
f.add_line_break()
continue
elif x in qawarnings:
- f.push_style("yellow")
+ f.push_style("WARN")
else:
- f.push_style("red")
+ f.push_style("BAD")
f.add_literal_data(str(stats[x]))
f.pop_style()
f.add_line_break()