summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r--bitbake/lib/bb/tinfoil.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 4fbad0774e..1164ee6014 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -104,6 +104,11 @@ class TinfoilDataStoreConnector:
104 setattr(self, name, newfunc) 104 setattr(self, name, newfunc)
105 return newfunc 105 return newfunc
106 106
107 def __iter__(self):
108 keys = self.tinfoil.run_command('dataStoreConnectorCmd', self.dsindex, "keys", [], {})
109 for k in keys:
110 yield k
111
107class TinfoilCookerAdapter: 112class TinfoilCookerAdapter:
108 """ 113 """
109 Provide an adapter for existing code that expects to access a cooker object via Tinfoil, 114 Provide an adapter for existing code that expects to access a cooker object via Tinfoil,