summaryrefslogtreecommitdiffstats
path: root/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorStefan Müller-Klieser <s.mueller-klieser@phytec.de>2014-11-06 13:03:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-08 11:01:36 +0000
commit9f171ea755644ecd9d2b3d7ed13bf8ec09ec917a (patch)
treeb7b1b01d8ecb1c9925df88ac93df7802dcc60dce /lib/bb/data_smart.py
parentd753644c67d163f338f2bdc3d600203e8b1a5734 (diff)
downloadopenembedded-core-contrib-9f171ea755644ecd9d2b3d7ed13bf8ec09ec917a.tar.gz
data_smart.py: fix variable splitting at _remove mechanism
If we split variables only at whitespaces, a slipped in tab will render a value unremovable. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/data_smart.py')
-rw-r--r--lib/bb/data_smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index d862308355..9a42a17062 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -618,7 +618,7 @@ class DataSmart(MutableMapping):
if value and flag == "_content" and local_var is not None and "_removeactive" in local_var:
removes = [self.expand(r) for r in local_var["_removeactive"]]
filtered = filter(lambda v: v not in removes,
- value.split(" "))
+ value.split())
value = " ".join(filtered)
if expand:
# We need to ensure the expand cache has the correct value