From 2f17b2ce7f77bff62440dc4e2784579c807f66f6 Mon Sep 17 00:00:00 2001 From: Stefan Müller-Klieser Date: Thu, 6 Nov 2014 13:03:38 +0100 Subject: bitbake: data_smart.py: fix variable splitting at _remove mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/data_smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') 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): 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 -- cgit v1.2.3-54-g00ecf