Fix: package unknown/unknown appears twice
authorDario Sestito <darios@symbian.org>
Mon, 10 May 2010 12:03:05 +0100
changeset 253 b59a964f37ef
parent 252 f593b7acdb37
child 254 fde18ad07a01
Fix: package unknown/unknown appears twice
uh_parser/uh.pl
--- a/uh_parser/uh.pl	Thu May 06 18:06:35 2010 +0100
+++ b/uh_parser/uh.pl	Mon May 10 12:03:05 2010 +0100
@@ -504,7 +504,7 @@
 	if (defined $allpackages->{'unknown/unknown'})
 	{
 		push @sorted, 'unknown/unknown';
-		undef $allpackages->{'unknown/unknown'};
+		delete $allpackages->{'unknown/unknown'};
 	}
 	push @sorted, sort {$a cmp $b} keys %{$allpackages};