diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2010-07-23 02:43:42 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2010-07-23 02:43:42 +0000 |
commit | 68eaa9772eeb1583fa7b99fd2a03dd7818577af7 (patch) | |
tree | e2245aab8db0933488917dac51bf745cf772778d /URPM | |
parent | 514df8f730699e5b3b33b2ed48fec9b709128039 (diff) | |
download | perl-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')
-rw-r--r-- | URPM/Resolve.pm | 2 |
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; } |