From daafb25e28fe1f288fa941d4e3e28831b0fe4849 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 15 Dec 2013 22:16:26 +0100 Subject: 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) --- NEWS | 2 ++ URPM/Resolve.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1