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.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index 940f9ab0d5..00cec59b83 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -60,12 +60,15 @@ class TinfoilDataStoreConnector:
60 self.dsindex = dsindex 60 self.dsindex = dsindex
61 def getVar(self, name): 61 def getVar(self, name):
62 value = self.tinfoil.run_command('dataStoreConnectorFindVar', self.dsindex, name) 62 value = self.tinfoil.run_command('dataStoreConnectorFindVar', self.dsindex, name)
63 overrides = None
63 if isinstance(value, dict): 64 if isinstance(value, dict):
64 if '_connector_origtype' in value: 65 if '_connector_origtype' in value:
65 value['_content'] = self.tinfoil._reconvert_type(value['_content'], value['_connector_origtype']) 66 value['_content'] = self.tinfoil._reconvert_type(value['_content'], value['_connector_origtype'])
66 del value['_connector_origtype'] 67 del value['_connector_origtype']
67 68 if '_connector_overrides' in value:
68 return value 69 overrides = value['_connector_overrides']
70 del value['_connector_overrides']
71 return value, overrides
69 def getKeys(self): 72 def getKeys(self):
70 return set(self.tinfoil.run_command('dataStoreConnectorGetKeys', self.dsindex)) 73 return set(self.tinfoil.run_command('dataStoreConnectorGetKeys', self.dsindex))
71 def getVarHistory(self, name): 74 def getVarHistory(self, name):