summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/data_smart.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 31ce9a5d15..68d273b3a6 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -740,12 +740,16 @@ class DataSmart(MutableMapping):
740 yield key 740 yield key
741 741
742 def __iter__(self): 742 def __iter__(self):
743 deleted = set()
743 def keylist(d): 744 def keylist(d):
744 klist = set() 745 klist = set()
745 for key in d: 746 for key in d:
746 if key == "_data": 747 if key == "_data":
747 continue 748 continue
749 if key in deleted:
750 continue
748 if not d[key]: 751 if not d[key]:
752 deleted.add(key)
749 continue 753 continue
750 klist.add(key) 754 klist.add(key)
751 755