aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-15 22:16:26 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-16 13:04:52 +0100
commitdaafb25e28fe1f288fa941d4e3e28831b0fe4849 (patch)
tree088f25cdae2a4794e5ca818ab30d6ef926548d74
parentdd53bb9cc6bb0b4bdc94cbfb2ce6abe60796abe0 (diff)
downloadperl-URPM-daafb25e28fe1f288fa941d4e3e28831b0fe4849.tar
perl-URPM-daafb25e28fe1f288fa941d4e3e28831b0fe4849.tar.gz
perl-URPM-daafb25e28fe1f288fa941d4e3e28831b0fe4849.tar.bz2
perl-URPM-daafb25e28fe1f288fa941d4e3e28831b0fe4849.tar.xz
perl-URPM-daafb25e28fe1f288fa941d4e3e28831b0fe4849.zip
fix warning in debug message
'Argument "19697|19..." isn't numeric in array element at ...URPM/Resolve.pm' introduced by pixel in commit 1d945d2a483598dc982cf73ae932d83d4e35df9 on Sep 7 2007 ("add some debug messages)
-rw-r--r--NEWS2
-rw-r--r--URPM/Resolve.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 59d2c33..487a675 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix a warning in debug mode
+
Version 4.29 - 5 November 2013
- enhanced doc
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 3a0a375..537af38 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1513,7 +1513,7 @@ sub _handle_diff_provides {
if (@packages) {
my $best = join('|', map { $_->id } @packages);
- $urpm->{debug_URPM}("promoting " . $urpm->{depslist}[$best]->fullname . " because of conflict above") if $urpm->{debug_URPM};
+ $urpm->{debug_URPM}("promoting " . join(' ', _ids_to_fullnames($urpm, split('\|', $best))) . " because of conflict above") if $urpm->{debug_URPM};
push @$properties, { required => $best, promote => $n, psel => $pkg };
} else {
#- no package have been found, we may need to remove the package examined unless