summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-08-06 00:56:55 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-25 14:47:04 +0100
commite26589eb1963956a68123ff6dcb4620dc40a1de0 (patch)
tree8636af992dd356d405e14137d728ed85afb9781c /scripts/lib/bsp
parentf32909a2c26db5b09a11fff4103b71c84d342017 (diff)
downloadpoky-e26589eb1963956a68123ff6dcb4620dc40a1de0.tar.gz
yocto-bsp: use rstrip() for assignment lines
strip() isn't necessary and causes unintended formatting changes in the output; rstrip() remove the trailing newlines as intended while leaving indenting whitespace intact. (From meta-yocto rev: 0caa6cd8c094b531ee8e78154dbf5a8e6014d1fd) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp')
-rw-r--r--scripts/lib/bsp/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py
index 857e5a09c0..7a98f447c3 100644
--- a/scripts/lib/bsp/engine.py
+++ b/scripts/lib/bsp/engine.py
@@ -658,7 +658,7 @@ class SubstrateBase(object):
658 """ 658 """
659 Expand all tags in a line. 659 Expand all tags in a line.
660 """ 660 """
661 expanded_line = AssignmentLine(line.strip()) 661 expanded_line = AssignmentLine(line.rstrip())
662 662
663 while start != -1: 663 while start != -1:
664 end = line.find(CLOSE_TAG, start) 664 end = line.find(CLOSE_TAG, start)