summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-01 12:24:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-01 12:24:34 +0000
commit04f532da620735a0c92dac47ff699fa26d14b8db (patch)
treed1c7daedde8b0c8fe0952be3a3f24ece1b15bbe7 /urpm/select.pm
parentc315ca224db78ab5766a21408c084cceda9bf306 (diff)
downloadurpmi-04f532da620735a0c92dac47ff699fa26d14b8db.tar
urpmi-04f532da620735a0c92dac47ff699fa26d14b8db.tar.gz
urpmi-04f532da620735a0c92dac47ff699fa26d14b8db.tar.bz2
urpmi-04f532da620735a0c92dac47ff699fa26d14b8db.tar.xz
urpmi-04f532da620735a0c92dac47ff699fa26d14b8db.zip
simplify
Diffstat (limited to 'urpm/select.pm')
-rw-r--r--urpm/select.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 60f35317..33aa9018 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -629,7 +629,7 @@ sub installed_leaves {
foreach my $pkg (@$packages) {
foreach my $prop ($pkg->requires) {
- my ($n, $s) = URPM::property2name_range($prop);
+ my $n = URPM::property2name($prop);
foreach my $p (@{$provides{$n} || []}) {
$p != $pkg && $p->provides_overlap($prop) and
delete $l{$p->name};