From efd63ad315f0716cc172cf6c5315aee9c70c531a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 28 Jul 2009 13:13:08 +0000 Subject: remove unused reasons from translate_why_unselected Patch from Anssi Hannula --- urpm/select.pm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'urpm/select.pm') diff --git a/urpm/select.pm b/urpm/select.pm index 28b38d91..ff144d39 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -557,12 +557,8 @@ sub translate_why_unselected_one { my $obj = $state->{rejected}{$fullname}; my $rb = $obj->{backtrack}; - my @froms = keys %{$rb->{closure} || {}}; my @unsatisfied = @{$rb->{unsatisfied} || []}; - my @conflicts = keys(%$rb) ? () : keys %{$obj->{closure}}; my $s = join ", ", ( - (map { N("due to missing %s", $_) } @froms), - (map { N("due to already installed %s", $_) } @conflicts), (map { N("due to unsatisfied %s", $_) } uniq(map { #- XXX in theory we shouldn't need this, dependencies (and not ids) should #- already be present in @unsatisfied. But with biarch packages this is -- cgit v1.2.1