aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-09-17 10:20:21 +0000
committerThierry Vignaud <tv@mageia.org>2011-09-17 10:20:21 +0000
commitba30986e009a7d0392ecbe5a6a7880c00ca2c82d (patch)
tree4afe731d75494ba6d5f40ab583d761560a7ef075
parent383c85229b8788c318affa302afac4b57ad8d4ea (diff)
downloadperl-URPM-ba30986e009a7d0392ecbe5a6a7880c00ca2c82d.tar
perl-URPM-ba30986e009a7d0392ecbe5a6a7880c00ca2c82d.tar.gz
perl-URPM-ba30986e009a7d0392ecbe5a6a7880c00ca2c82d.tar.bz2
perl-URPM-ba30986e009a7d0392ecbe5a6a7880c00ca2c82d.tar.xz
perl-URPM-ba30986e009a7d0392ecbe5a6a7880c00ca2c82d.zip
(request_packages_to_upgrade) fix calling method in string
(spoted by perl_checker, introduced in revision mga#267800 ("honour search medias when using --auto-select") but teuf on Fri Apr 23 2010
-rw-r--r--NEWS4
-rw-r--r--URPM/Resolve.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5e58558..3e06ec1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- fix calling method in string
+ (spoted by perl_checker, introduced in revision mga#267800 ("honour search
+ medias when using --auto-select") but teuf on Fri Apr 23 2010
+
Version 3.38.3 - 12 November 2011
- fix urpmi segfaulting on 'urpmi foobar.spec' when some files are missing
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index b82b45b..7e8aaf2 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1702,7 +1702,7 @@ sub request_packages_to_upgrade {
}
}
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};
+ $urpm->{debug_URPM}("not auto-selecting " . $pkg->fullname . "because it's not in search medias") if $urpm->{debug_URPM};
$pkg = undef;
}