aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2010-07-23 02:43:42 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2010-07-23 02:43:42 +0000
commit68eaa9772eeb1583fa7b99fd2a03dd7818577af7 (patch)
treee2245aab8db0933488917dac51bf745cf772778d /URPM/Resolve.pm
parent514df8f730699e5b3b33b2ed48fec9b709128039 (diff)
downloadperl-URPM-68eaa9772eeb1583fa7b99fd2a03dd7818577af7.tar
perl-URPM-68eaa9772eeb1583fa7b99fd2a03dd7818577af7.tar.gz
perl-URPM-68eaa9772eeb1583fa7b99fd2a03dd7818577af7.tar.bz2
perl-URPM-68eaa9772eeb1583fa7b99fd2a03dd7818577af7.tar.xz
perl-URPM-68eaa9772eeb1583fa7b99fd2a03dd7818577af7.zip
- fix deferencement on hash (instead hashref), warning triggered by perl 5.12
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 ce2cb4e..70105d3 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1699,7 +1699,7 @@ sub request_packages_to_upgrade {
$pkg = undef;
}
}
- if ($pkg && %options->{idlist} && !grep { $pkg->id == $_ } @{%options->{idlist}}) {
+ if ($pkg && $options{idlist} && !grep { $pkg->id == $_ } @{$options{idlist}}) {
$urpm->{debug_URPM}("not auto-selecting $pkg->fullname because it's not in search medias") if $urpm->{debug_URPM};
$pkg = undef;
}