aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-16 20:11:47 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-16 20:11:47 +0000
commit8ec122193e959c00f4f3d673f0966f0a27a5803d (patch)
tree953c0774639e013b0e61f26a8cc922195d156c56 /URPM/Resolve.pm
parent08152b0d8dc9ac58192b23a74bc3d2f84ea0508c (diff)
downloadperl-URPM-8ec122193e959c00f4f3d673f0966f0a27a5803d.tar
perl-URPM-8ec122193e959c00f4f3d673f0966f0a27a5803d.tar.gz
perl-URPM-8ec122193e959c00f4f3d673f0966f0a27a5803d.tar.bz2
perl-URPM-8ec122193e959c00f4f3d673f0966f0a27a5803d.tar.xz
perl-URPM-8ec122193e959c00f4f3d673f0966f0a27a5803d.zip
(find_required_package) perl_checker cleanup
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 40e32a0..0d8b37c 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -218,7 +218,7 @@ sub find_required_package {
$may_add_to_packages->($pkg);
} elsif (my $name = property2name($_)) {
my $property = $_;
- foreach (sort {$a <=> $b} keys %{$urpm->{provides}{$name} || {}}) {
+ foreach (sort { $a <=> $b } keys %{$urpm->{provides}{$name} || {}}) {
my $pkg = $urpm->{depslist}[$_];
$pkg->is_arch_compat or next;
$pkg->flag_skip || $state->{rejected}{$pkg->fullname} and next;