diff options
author | Stefan Müller-Klieser <s.mueller-klieser@phytec.de> | 2014-11-06 13:03:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-08 11:01:36 +0000 |
commit | 9f171ea755644ecd9d2b3d7ed13bf8ec09ec917a (patch) | |
tree | b7b1b01d8ecb1c9925df88ac93df7802dcc60dce /lib/bb | |
parent | d753644c67d163f338f2bdc3d600203e8b1a5734 (diff) | |
download | bitbake-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')
-rw-r--r-- | lib/bb/data_smart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index d86230835..9a42a1706 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 |