diff options
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index b1ea33fc30..7bb7b4aae3 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -621,7 +621,8 @@ class DataSmart(MutableMapping): | |||
621 | cachename = var + "[" + flag + "]" | 621 | cachename = var + "[" + flag + "]" |
622 | value = self.expand(value, cachename) | 622 | value = self.expand(value, cachename) |
623 | if value and flag == "_content" and local_var is not None and "_removeactive" in local_var: | 623 | if value and flag == "_content" and local_var is not None and "_removeactive" in local_var: |
624 | removes = [self.expand(r) for r in local_var["_removeactive"]] | 624 | removes = [self.expand(r).split() for r in local_var["_removeactive"]] |
625 | removes = reduce(lambda a, b: a+b, removes, []) | ||
625 | filtered = filter(lambda v: v not in removes, | 626 | filtered = filter(lambda v: v not in removes, |
626 | value.split()) | 627 | value.split()) |
627 | value = " ".join(filtered) | 628 | value = " ".join(filtered) |