projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd45d2a
)
Replace hardcoded green, yellow, and red with GOOD, WARN, and BAD.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 15 Dec 2007 03:02:33 +0000
(
03:02
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 15 Dec 2007 03:02:33 +0000
(
03:02
-0000)
svn path=/main/trunk/; revision=8927
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index 997c3539a9829e4e9186301d4b20439c1b9672cb..dcd5865591c651d4f312427f21f7cddd00dfd54f 100755
(executable)
--- 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()