Update count of logs needing analysis better
authorSteve McIntyre <steve@einval.com>
Sat, 29 Dec 2018 18:04:55 +0000 (18:04 +0000)
committerSteve McIntyre <steve@einval.com>
Sat, 29 Dec 2018 18:04:55 +0000 (18:04 +0000)
If I've already added a .note file, don't count it!

bin/analyze_results

index a9c2f0b..5075c9a 100755 (executable)
@@ -668,6 +668,7 @@ foreach my $input (@ARGV) {
                print "  </ul>\n";
            }
            check_buildd_status($pkg, $version, $arch);
+           $awaiting_analysis++;
        }
     }
 
@@ -676,9 +677,6 @@ foreach my $input (@ARGV) {
        $log_results{$file_results{$key}}{$key} += 1;
 #      print "now have $log_results{$key} for \"$key\"\n";
     }
-    if ($errors_need_analysis) {
-       $awaiting_analysis++;
-    }
 }
 print "</ol>\n";