summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-07 16:37:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 08:35:05 +0100
commitf0740b038f8efe2dc30aa91ac040e9f4f1eb8e72 (patch)
tree01b73f5505fbcf909dc4743dd8d30d24406b5e60 /bitbake/lib
parent5bebe39a8a6caf4af58c4900b3d5f3b94d2a4d35 (diff)
downloadpoky-f0740b038f8efe2dc30aa91ac040e9f4f1eb8e72.tar.gz
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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index d59d6a5f89..d5ba629306 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -1067,7 +1067,7 @@ class BuildInfoHelper(object):
1067 1067
1068 for t in self.internal_state['targets']: 1068 for t in self.internal_state['targets']:
1069 if t.is_image == True: 1069 if t.is_image == True:
1070 output_files = list(evdata.viewkeys()) 1070 output_files = list(evdata.keys())
1071 for output in output_files: 1071 for output in output_files:
1072 if t.target in output and 'rootfs' in output and not output.endswith(".manifest"): 1072 if t.target in output and 'rootfs' in output and not output.endswith(".manifest"):
1073 self.orm_wrapper.save_target_image_file_information(t, output, evdata[output]) 1073 self.orm_wrapper.save_target_image_file_information(t, output, evdata[output])