Account for total number of releasables when translating uh to brag and to Diamonds
--- a/common/tools/brag/uh2brag.pl Thu Sep 02 12:17:04 2010 +0100
+++ b/common/tools/brag/uh2brag.pl Thu Sep 02 13:32:47 2010 +0100
@@ -43,7 +43,7 @@
{
while (my $line = <INDEX>)
{
- if ($line =~ m{<tr><td><a href='.*'>.*</a></td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td>(<td>(\d+)</td>)?})
+ if ($line =~ m{<tr><td><a href='.*'>.*</a></td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td>(<td>(\d+)/\d*</td>)?})
{
$criticals += $1 if ($1);
$majors += $2 if ($2);
--- a/common/tools/uh2diamonds.pl Thu Sep 02 12:17:04 2010 +0100
+++ b/common/tools/uh2diamonds.pl Thu Sep 02 13:32:47 2010 +0100
@@ -53,7 +53,7 @@
$minor += $3;
$unknown += $4;
}
- elsif($line =~ m,<tr><td><a href='.+'>.+</a></td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td></tr>,)
+ elsif($line =~ m,<tr><td><a href='.+'>.+</a></td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td><td>(\d+)</td><td>(\d+)/\d*</td></tr>,)
{
$critical += $1;
$major += $2;