From 081fddd3e464935e5f438a7686eb8f8856da6281 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: 0da22ba3e930fbb060b31fc423fd3333ca8843a0) 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') 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