diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index b296b8ce84..352838b0aa 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -483,14 +483,13 @@ class CommandsSync: | |||
| 483 | dataStoreConnectorGetVarHistory.readonly = True | 483 | dataStoreConnectorGetVarHistory.readonly = True |
| 484 | 484 | ||
| 485 | def dataStoreConnectorExpandPythonRef(self, command, params): | 485 | def dataStoreConnectorExpandPythonRef(self, command, params): |
| 486 | dsindex = params[0] | 486 | config_data_dict = params[0] |
| 487 | varname = params[1] | 487 | varname = params[1] |
| 488 | expr = params[2] | 488 | expr = params[2] |
| 489 | if dsindex: | 489 | |
| 490 | datastore = self.dataStores[dsindex] | 490 | config_data = command.remotedatastores.receive_datastore(config_data_dict) |
| 491 | else: | 491 | |
| 492 | datastore = command.cooker.data | 492 | varparse = bb.data_smart.VariableParse(varname, config_data) |
| 493 | varparse = bb.data_smart.VariableParse(varname, datastore) | ||
| 494 | return varparse.python_sub(expr) | 493 | return varparse.python_sub(expr) |
| 495 | 494 | ||
| 496 | def dataStoreConnectorRelease(self, command, params): | 495 | def dataStoreConnectorRelease(self, command, params): |
