summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-18 16:21:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-21 22:08:09 +0100
commit4eeabbe7a06292c95404d4b17b64a8748b63eca5 (patch)
tree40a468568e444928189451ec11fc5b4eb9e9c5fa /bitbake/lib
parentaccd46c65f7eb51b96adb495efe9bcdbaacd4948 (diff)
downloadpoky-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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/crumbs/configurator.py2
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)