summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-11 09:47:29 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-11 09:47:29 +0000
commitbbfe7dbf3cb724ab40861bdc6d82eb76a8b4062e (patch)
tree4cef4478d071a02a41b6e17d3f6e03ccccf50475
parent018e3f1fc711adc4fe556850cd2dacd6c7f6f91b (diff)
downloaddrakx-bbfe7dbf3cb724ab40861bdc6d82eb76a8b4062e.tar
drakx-bbfe7dbf3cb724ab40861bdc6d82eb76a8b4062e.tar.gz
drakx-bbfe7dbf3cb724ab40861bdc6d82eb76a8b4062e.tar.bz2
drakx-bbfe7dbf3cb724ab40861bdc6d82eb76a8b4062e.tar.xz
drakx-bbfe7dbf3cb724ab40861bdc6d82eb76a8b4062e.zip
(display_choices) make logs easier to read in report.bug
-rw-r--r--perl-install/fs/partitioning_wizard.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/fs/partitioning_wizard.pm b/perl-install/fs/partitioning_wizard.pm
index 2c0d14a4f..f7e0a9002 100644
--- a/perl-install/fs/partitioning_wizard.pm
+++ b/perl-install/fs/partitioning_wizard.pm
@@ -425,8 +425,8 @@ sub display_choices {
my @solutions = sort { $solutions{$b}[0] <=> $solutions{$a}[0] } keys %solutions;
my @sol = grep { $solutions{$_}[0] >= 0 } @solutions;
- log::l('' . "solutions found: " . join('', map { $solutions{$_}[1] } @sol) .
- " (all solutions found: " . join('', map { $solutions{$_}[1] } @solutions) . ")");
+ log::l('' . "solutions found: " . join(', ', map { $solutions{$_}[1] } @sol) .
+ " (all solutions found: " . join(', ', map { $solutions{$_}[1] } @solutions) . ")");
@solutions = @sol if @sol > 1;
log::l("solutions: ", int @solutions);
@@ -572,8 +572,8 @@ sub main {
my @solutions = sort { $b->[0] <=> $a->[0] } values %solutions;
my @sol = grep { $_->[0] >= 0 } @solutions;
- log::l('' . "solutions found: " . join('', map { $_->[1] } @sol) .
- " (all solutions found: " . join('', map { $_->[1] } @solutions) . ")");
+ log::l('' . "solutions found: " . join(', ', map { $_->[1] } @sol) .
+ " (all solutions found: " . join(', ', map { $_->[1] } @solutions) . ")");
@solutions = @sol if @sol > 1;
log::l("solutions: ", int @solutions);
@solutions or $o->ask_warn(N("Partitioning"), N("I cannot find any room for installing")), die 'already displayed';