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-19 10:46:41 +0000 |
commit | 081fddd3e464935e5f438a7686eb8f8856da6281 (patch) | |
tree | 4de4451df2912e399d89d0a7aacf4e79e23dee26 /bitbake/lib | |
parent | 9fcd5826d9d6cfc6cec2423a59cb05180e54cb06 (diff) | |
download | poky-081fddd3e464935e5f438a7686eb8f8856da6281.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: 0da22ba3e930fbb060b31fc423fd3333ca8843a0)
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.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 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 |