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 fa1e794279..2ab884bb39 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -917,7 +917,7 @@ class DataSmart(MutableMapping):
917 yield k 917 yield k
918 918
919 def __len__(self): 919 def __len__(self):
920 return len(frozenset(self)) 920 return len(frozenset(iter(self)))
921 921
922 def __getitem__(self, item): 922 def __getitem__(self, item):
923 value = self.getVar(item, False) 923 value = self.getVar(item, False)