]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Don't count Auto-Not-For-Us in stats for the graphs
authorKurt Roeckx <kurt@roeckx.be>
Sun, 10 Apr 2011 11:31:06 +0000 (11:31 +0000)
committerKurt Roeckx <kurt@roeckx.be>
Sun, 10 Apr 2011 11:31:06 +0000 (11:31 +0000)
We shouldn't build those packages, so there is no need to indicate them
in the stats.

bin/wb-graph

index cd9c5e43ec53f4da2c58b812b7d81cc1ca24a596..743c1af29a76a7885fe3d9e065f91bdd2a021b0b 100755 (executable)
@@ -69,6 +69,7 @@ if ($?) {
        print ", 0, 0";
 } else {
 #      $total -= $n_state{"Not-For-Us"};
        print ", 0, 0";
 } else {
 #      $total -= $n_state{"Not-For-Us"};
+       $total -= $n_state{"Auto-Not-For-Us"};
        if ( $previously_built ) {
                print ", ".$n_state{"Installed"}.", ".$pu_total;
        } else {
        if ( $previously_built ) {
                print ", ".$n_state{"Installed"}.", ".$pu_total;
        } else {