summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data_smart.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
-rw-r--r--bitbake/lib/bb/data_smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index e4bdb2fdd9..2a1ef90190 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -610,7 +610,7 @@ class DataSmart(MutableMapping):
610 else: 610 else:
611 cachename = var + "[" + flag + "]" 611 cachename = var + "[" + flag + "]"
612 value = self.expand(value, cachename) 612 value = self.expand(value, cachename)
613 if value is not None and flag == "_content" and local_var is not None and "_removeactive" in local_var: 613 if value and flag == "_content" and local_var is not None and "_removeactive" in local_var:
614 filtered = filter(lambda v: v not in local_var["_removeactive"], 614 filtered = filter(lambda v: v not in local_var["_removeactive"],
615 value.split(" ")) 615 value.split(" "))
616 value = " ".join(filtered) 616 value = " ".join(filtered)