aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-08 07:39:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-08 07:39:00 +0000
commit041b2d73c4fd308f3c71cdd976b6382805eead23 (patch)
tree60dcceeea24adc509345de6a020c390ee08e4b79
parent0c56755b87beda1391c3685f0ca00628112e9405 (diff)
downloadperl-URPM-041b2d73c4fd308f3c71cdd976b6382805eead23.tar
perl-URPM-041b2d73c4fd308f3c71cdd976b6382805eead23.tar.gz
perl-URPM-041b2d73c4fd308f3c71cdd976b6382805eead23.tar.bz2
perl-URPM-041b2d73c4fd308f3c71cdd976b6382805eead23.tar.xz
perl-URPM-041b2d73c4fd308f3c71cdd976b6382805eead23.zip
fix typo in older commit
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 2c9e021..32a914b 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1060,7 +1060,7 @@ sub disable_selected_unrequested_dependencies {
foreach (keys %required) {
my $pkg = $urpm->{depslist}[$_] or next;
foreach ($pkg->provides_nosense) {
- foreach my $p_id (whatrequires_id($urpm, $state, $_)) {
+ foreach my $p_id (whatrequires_id($state, $_)) {
exists $required{$p_id} and next;
$state->{selected}{$p_id} and $required{$pkg->id} = 1;
}