aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bb/data_smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index 0a8488ca1..7b2c0a894 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -805,7 +805,7 @@ class DataSmart(MutableMapping):
cachename = var + "[" + flag + "]"
value = self.expand(value, cachename)
- if value and flag == "_content" and local_var is not None and "_remove" in local_var:
+ if value and flag == "_content" and local_var is not None and "_remove" in local_var and not parsing:
removes = []
self.need_overrides()
for (r, o) in local_var["_remove"]: