aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-30 12:12:19 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-30 12:12:19 +0000
commit829aacabd375fc1edb7b60dfde08afd2d8af0ebf (patch)
treeee1f3db912f67c11880cd5dbacdca2bbb1278ba1
parent27b8766a0e5527aeb3c2d153ceaa77c148185e76 (diff)
downloadperl-URPM-829aacabd375fc1edb7b60dfde08afd2d8af0ebf.tar
perl-URPM-829aacabd375fc1edb7b60dfde08afd2d8af0ebf.tar.gz
perl-URPM-829aacabd375fc1edb7b60dfde08afd2d8af0ebf.tar.bz2
perl-URPM-829aacabd375fc1edb7b60dfde08afd2d8af0ebf.tar.xz
perl-URPM-829aacabd375fc1edb7b60dfde08afd2d8af0ebf.zip
fix warning in debug message
(Argument "19697|19719|19..." isn't numeric in array element at ...URPM/Resolve.pm' (introduced by pixel in commit r227273 on Sep 7 2007: "add some debug messages)
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 19622fa..896fe50 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1296,7 +1296,7 @@ sub _handle_diff_provides {
}
if (@best == @unsatisfied) {
- $urpm->{debug_URPM}("promoting " . join(' ', _ids_to_fullnames($urpm, @best)) . " because of conflict above") if $urpm->{debug_URPM};
+ $urpm->{debug_URPM}("promoting " . join(' ', _ids_to_fullnames($urpm, map { split('\|', $_) } @best)) . " because of conflict above") if $urpm->{debug_URPM};
push @$properties, map { +{ required => $_, promote => $n, psel => $pkg } } @best;
} else {
if ($from_state) {