Do not display the unknown/unknown package unless there are associated failures
authorDario Sestito <darios@symbian.org>
Tue, 11 May 2010 11:19:36 +0100
changeset 234 788d181d70a4
parent 233 71dcc4963b58
child 235 0cefd1662676
Do not display the unknown/unknown package unless there are associated failures
uh_parser/uh.pl
--- a/uh_parser/uh.pl	Tue May 11 11:12:25 2010 +0100
+++ b/uh_parser/uh.pl	Tue May 11 11:19:36 2010 +0100
@@ -270,7 +270,7 @@
 print AGGREGATED "</table>\n";
 print AGGREGATED "<br/>\n";
 
-print AGGREGATED "<br/>PACKAGE-SPECIFIC FAILURES<br/>\n";
+print AGGREGATED "PACKAGE-SPECIFIC FAILURES<br/>\n";
 print AGGREGATED "<table border='1'>\n";
 $tableheader = "<tr><th>package</th>";
 for (@severities) { $tableheader .= "<th>$_</th>"; }
@@ -296,6 +296,8 @@
 		$packageline .= "</tr>\n";
 		print AGGREGATED "$packageline\n";
 	}
+	# don't display the unknown/unknown package unless there are associated failures
+	elsif ($package eq 'unknown/unknown') {}
 	else
 	{
 		my $packageline = "<tr><td>$package</td>";