diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-15 22:16:26 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-16 13:04:52 +0100 |
commit | daafb25e28fe1f288fa941d4e3e28831b0fe4849 (patch) | |
tree | 088f25cdae2a4794e5ca818ab30d6ef926548d74 | |
parent | dd53bb9cc6bb0b4bdc94cbfb2ce6abe60796abe0 (diff) | |
download | perl-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-- | NEWS | 2 | ||||
-rw-r--r-- | URPM/Resolve.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 |