aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-15 17:38:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-15 17:38:13 +0000
commitf814943b4a4295f7a930fba28300e01a6c2cb3d7 (patch)
treee23fbf3f86fd4b7e41892c34514479bbdfa88eee /URPM
parent850ddca92ccf6f3885950f9db014c216cc99578c (diff)
downloadperl-URPM-f814943b4a4295f7a930fba28300e01a6c2cb3d7.tar
perl-URPM-f814943b4a4295f7a930fba28300e01a6c2cb3d7.tar.gz
perl-URPM-f814943b4a4295f7a930fba28300e01a6c2cb3d7.tar.bz2
perl-URPM-f814943b4a4295f7a930fba28300e01a6c2cb3d7.tar.xz
perl-URPM-f814943b4a4295f7a930fba28300e01a6c2cb3d7.zip
(ranges_overlap,obsoletes_overlap) drop unused no_promote parameter
rationale: it was never set to 0 for nearly a decade this should have been ripped rigth after commit r227323 by pixel on Sep 7 2007: "simplify: nopromoteepoch is always 1 (no caller ever define it)"
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index e0eaf9d..68c4aaa 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -513,7 +513,7 @@ sub unsatisfied_requires {
if (my ($pn, $ps) = property2name_range($_)) {
$ps or $state->{cached_installed}{$pn}{$p->fullname} = undef;
$pn eq $n or next;
- URPM::ranges_overlap($ps, $s, 1) and ++$satisfied;
+ URPM::ranges_overlap($ps, $s) and ++$satisfied;
}
}
});