summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/data_smart.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 64a900c556..93c1b81aee 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -172,11 +172,13 @@ class DataSmart(MutableMapping):
172 if o not in self._seen_overrides: 172 if o not in self._seen_overrides:
173 continue 173 continue
174 174
175 vars = self._seen_overrides[o] 175 vars = self._seen_overrides[o].copy()
176 for var in vars: 176 for var in vars:
177 name = var[:-l] 177 name = var[:-l]
178 try: 178 try:
179 self.setVar(name, self.getVar(var, False)) 179 self.setVar(name, self.getVar(var, False))
180 self.delVar(var)
181 self._seen_overrides[o].remove(var)
180 except Exception: 182 except Exception:
181 logger.info("Untracked delVar") 183 logger.info("Untracked delVar")
182 184