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:14:31 +0000 |
commit | 2f17b2ce7f77bff62440dc4e2784579c807f66f6 (patch) | |
tree | 6d53aafa332d560b61ef75cce254e2e833547fa8 | |
parent | 01a61c8e6e50c647eb6da198cdded29a65d94e12 (diff) | |
download | ast2050-yocto-poky-2f17b2ce7f77bff62440dc4e2784579c807f66f6.zip ast2050-yocto-poky-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>
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index d862308..9a42a17 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/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 |