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 <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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