aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2010-07-23 02:48:50 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2010-07-23 02:48:50 +0000
commit3b819e95dd32e92304fa199ad799774e8424edd2 (patch)
treee8333b13b3eaaaf36ab528f8a26234472cad5d4e /URPM
parent514df8f730699e5b3b33b2ed48fec9b709128039 (diff)
downloadperl-URPM-3.36.tar
perl-URPM-3.36.tar.gz
perl-URPM-3.36.tar.bz2
perl-URPM-3.36.tar.xz
perl-URPM-3.36.zip
- tag 3.363.36
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 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;
}