Replace hardcoded green, yellow, and red with GOOD, WARN, and BAD.
authorZac Medico <zmedico@gentoo.org>
Sat, 15 Dec 2007 03:02:33 +0000 (03:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 15 Dec 2007 03:02:33 +0000 (03:02 -0000)
svn path=/main/trunk/; revision=8927

bin/repoman

index 997c3539a9829e4e9186301d4b20439c1b9672cb..dcd5865591c651d4f312427f21f7cddd00dfd54f 100755 (executable)
@@ -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()