diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
| -rw-r--r-- | bitbake/lib/bb/command.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 41796f629e..1808f0c7e5 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
| @@ -30,7 +30,6 @@ Commands are queued in a CommandQueue | |||
| 30 | 30 | ||
| 31 | import bb.event | 31 | import bb.event |
| 32 | import bb.cooker | 32 | import bb.cooker |
| 33 | import bb.data | ||
| 34 | 33 | ||
| 35 | async_cmds = {} | 34 | async_cmds = {} |
| 36 | sync_cmds = {} | 35 | sync_cmds = {} |
| @@ -162,7 +161,7 @@ class CommandsSync: | |||
| 162 | if len(params) > 1: | 161 | if len(params) > 1: |
| 163 | expand = params[1] | 162 | expand = params[1] |
| 164 | 163 | ||
| 165 | return bb.data.getVar(varname, command.cooker.configuration.data, expand) | 164 | return command.cooker.configuration.data.getVar(varname, expand) |
| 166 | 165 | ||
| 167 | def setVariable(self, command, params): | 166 | def setVariable(self, command, params): |
| 168 | """ | 167 | """ |
| @@ -170,7 +169,7 @@ class CommandsSync: | |||
| 170 | """ | 169 | """ |
| 171 | varname = params[0] | 170 | varname = params[0] |
| 172 | value = params[1] | 171 | value = params[1] |
| 173 | bb.data.setVar(varname, value, command.cooker.configuration.data) | 172 | command.cooker.configuration.data.setVar(varname, value) |
| 174 | 173 | ||
| 175 | def resetCooker(self, command, params): | 174 | def resetCooker(self, command, params): |
| 176 | """ | 175 | """ |
