diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-23 13:21:35 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-24 22:01:03 +0000 |
commit | 89705a60f3b566743703c3a7597ccc4507293dd9 (patch) | |
tree | 7278acffd1e3599710084be58c7045ab8f5c6646 /bitbake/lib/bb/data_smart.py | |
parent | c0e79ee2e93609d4a647b31afed6dc034d893a52 (diff) | |
download | poky-89705a60f3b566743703c3a7597ccc4507293dd9.tar.gz |
bitbake: data_smart: Don't pass unneeded datastore
The datastore is already available to this function internally so don't
also try and pass the datastore as a parameter. This is clearly broken
API when you look at the existing calls to it.
This then doesn't break the planned tinfoil data connector changes.
(Bitbake rev: af1654498ee5b47368a41dad2d2b7b6abc19ff15)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index 63a32bc6a7..b2dc9d9fd5 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -338,11 +338,12 @@ class VariableHistory(object): | |||
338 | lines.append(line) | 338 | lines.append(line) |
339 | return lines | 339 | return lines |
340 | 340 | ||
341 | def get_variable_items_files(self, var, d): | 341 | def get_variable_items_files(self, var): |
342 | """ | 342 | """ |
343 | Use variable history to map items added to a list variable and | 343 | Use variable history to map items added to a list variable and |
344 | the files in which they were added. | 344 | the files in which they were added. |
345 | """ | 345 | """ |
346 | d = self.dataroot | ||
346 | history = self.variable(var) | 347 | history = self.variable(var) |
347 | finalitems = (d.getVar(var) or '').split() | 348 | finalitems = (d.getVar(var) or '').split() |
348 | filemap = {} | 349 | filemap = {} |