diff options
| author | Joshua Lock <josh@linux.intel.com> | 2011-07-18 16:21:01 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-21 22:08:09 +0100 |
| commit | 4eeabbe7a06292c95404d4b17b64a8748b63eca5 (patch) | |
| tree | 40a468568e444928189451ec11fc5b4eb9e9c5fa | |
| parent | accd46c65f7eb51b96adb495efe9bcdbaacd4948 (diff) | |
| download | poky-4eeabbe7a06292c95404d4b17b64a8748b63eca5.tar.gz | |
ui/crumbs/configurator: write new lines after new entries
New entries written to a configuration file should be on separate lines,
ensure this is the case by appending a newline to each written variable.
(Bitbake rev: bac689fc34ea55c062d60ef249b79faa35f546a1)
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/configurator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/configurator.py b/bitbake/lib/bb/ui/crumbs/configurator.py index b694143d4c..551179950a 100644 --- a/bitbake/lib/bb/ui/crumbs/configurator.py +++ b/bitbake/lib/bb/ui/crumbs/configurator.py | |||
| @@ -228,7 +228,7 @@ class Configurator(gobject.GObject): | |||
| 228 | cnt = cnt + 1 | 228 | cnt = cnt + 1 |
| 229 | 229 | ||
| 230 | if not replaced: | 230 | if not replaced: |
| 231 | new_config_lines.append("%s = \"%s\"" % (var, changed_values[var])) | 231 | new_config_lines.append("%s = \"%s\"\n" % (var, changed_values[var])) |
| 232 | 232 | ||
| 233 | # Add the modified variables | 233 | # Add the modified variables |
| 234 | config_lines.extend(new_config_lines) | 234 | config_lines.extend(new_config_lines) |
