From 1c0ce098e8839996b931c58f5e44ebe664d9f01b Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 23 Jan 2016 15:58:28 +0000 Subject: Removed useless duplication of information --- emi | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'emi') diff --git a/emi b/emi index 2b8e328..a3ca1e9 100755 --- a/emi +++ b/emi @@ -120,7 +120,6 @@ my $reject = "$config->{queue}/rejected"; my %pkg_tree; my %excluded; -my %archdone; my %uploaded; @@ -139,7 +138,7 @@ sub done_func { my ($arch, $result) = ($1, $2); if ($result eq 'done') { plog('DEBUG', "found .done ($prefix) for $arch"); - $archdone{$prefix}{$section}{$arch} = 1; + $pkg_tree{$prefix}{section}{$section}{arch}{$arch} = 1; } elsif ($result eq 'excluded') { $arch = $config->{arch_translation}{$arch} if $config->{arch_translation}{$arch}; plog('DEBUG', "found .excluded ($prefix) for $arch"); @@ -167,8 +166,6 @@ sub done_post { if ($arch eq 'src') { push @{$pkg_tree{$prefix}{section}{$section}{srpms}}, $rpm; $pkg_tree{$prefix}{section}{$section}{arch}{src} = 1; - } elsif ($archdone{$prefix}{$section}{$arch}) { - $pkg_tree{$prefix}{section}{$section}{arch}{$arch} = 1; } push @{$pkg_tree{$prefix}{section}{$section}{rpms}} , $rpm; } -- cgit v1.2.1