summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:37 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:37 +0000
commitdf40b76b3cc3d1d743bda28406e8bec3c4873ebd (patch)
tree21f7c6ea72774724d9f63a8be32f2cba115e0282 /urpm
parent5a5f52175223b8a13a323797ac7d9c87492c2955 (diff)
downloadurpmi-df40b76b3cc3d1d743bda28406e8bec3c4873ebd.tar
urpmi-df40b76b3cc3d1d743bda28406e8bec3c4873ebd.tar.gz
urpmi-df40b76b3cc3d1d743bda28406e8bec3c4873ebd.tar.bz2
urpmi-df40b76b3cc3d1d743bda28406e8bec3c4873ebd.tar.xz
urpmi-df40b76b3cc3d1d743bda28406e8bec3c4873ebd.zip
(unselected_packages) kill unused parameter
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 96d5801a..67fe6546 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -572,14 +572,14 @@ sub _prohibit_packages_that_would_be_removed {
}
-=item unselected_packages(undef, $state)
+=item unselected_packages($state)
misc functions to help finding ask_unselect and ask_remove elements with their reasons translated.
=cut
sub unselected_packages {
- my (undef, $state) = @_;
+ my ($state) = @_;
grep { $state->{rejected}{$_}{backtrack} } keys %{$state->{rejected} || {}};
}