summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
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:14:31 +0000
commit2f17b2ce7f77bff62440dc4e2784579c807f66f6 (patch)
tree6d53aafa332d560b61ef75cce254e2e833547fa8 /bitbake/lib
parent01a61c8e6e50c647eb6da198cdded29a65d94e12 (diff)
downloadpoky-2f17b2ce7f77bff62440dc4e2784579c807f66f6.tar.gz
bitbake: 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. (Bitbake rev: 9f171ea755644ecd9d2b3d7ed13bf8ec09ec917a) Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/data_smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index d862308355..9a42a17062 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -618,7 +618,7 @@ class DataSmart(MutableMapping):
618 if value and flag == "_content" and local_var is not None and "_removeactive" in local_var: 618 if value and flag == "_content" and local_var is not None and "_removeactive" in local_var:
619 removes = [self.expand(r) for r in local_var["_removeactive"]] 619 removes = [self.expand(r) for r in local_var["_removeactive"]]
620 filtered = filter(lambda v: v not in removes, 620 filtered = filter(lambda v: v not in removes,
621 value.split(" ")) 621 value.split())
622 value = " ".join(filtered) 622 value = " ".join(filtered)
623 if expand: 623 if expand:
624 # We need to ensure the expand cache has the correct value 624 # We need to ensure the expand cache has the correct value