From ac3b12f75f3909f1e72ecc17ceb0fccff953184d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 16 Jul 2015 15:25:29 +0200 Subject: [PATCH] migrate_menu: trailing whitespace im yaml dump --- scripts/migrate_menu.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/migrate_menu.pl b/scripts/migrate_menu.pl index a0cdae80d..a27a07c40 100644 --- a/scripts/migrate_menu.pl +++ b/scripts/migrate_menu.pl @@ -143,9 +143,9 @@ sub yaml_dump { my $first = 0; for my $key (@order) { next unless exists $node->{$key}; - $yaml .= ($first++ ? ' ' : '- ') . $key . ": "; + $yaml .= ($first++ ? ' ' : '- ') . $key . ":"; if (!ref $node->{$key}) { - $yaml .= $node->{$key} . "\n"; + $yaml .= ' ' . $node->{$key} . "\n"; } else { $yaml .= "\n"; for ('action', grep !/^action$/, keys %{ $node->{$key} }) { -- 2.20.1