mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
bitbake: toaster: replace viewkeys() -> keys()
Python 3 doesn't have dict.viewkeys method, renaming to keys(). [YOCTO #9584] (Bitbake rev: 8ae2fc26fc7c4f42817dece62b9a59fbda27c0b0) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5bebe39a8a
commit
f0740b038f
@@ -1067,7 +1067,7 @@ class BuildInfoHelper(object):
|
|||||||
|
|
||||||
for t in self.internal_state['targets']:
|
for t in self.internal_state['targets']:
|
||||||
if t.is_image == True:
|
if t.is_image == True:
|
||||||
output_files = list(evdata.viewkeys())
|
output_files = list(evdata.keys())
|
||||||
for output in output_files:
|
for output in output_files:
|
||||||
if t.target in output and 'rootfs' in output and not output.endswith(".manifest"):
|
if t.target in output and 'rootfs' in output and not output.endswith(".manifest"):
|
||||||
self.orm_wrapper.save_target_image_file_information(t, output, evdata[output])
|
self.orm_wrapper.save_target_image_file_information(t, output, evdata[output])
|
||||||
|
|||||||
Reference in New Issue
Block a user