[oe-commits] [bitbake] 26/44: toaster: replace viewkeys() -> keys()
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 13 21:11:14 UTC 2016
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 3fb85e64f9c6b792c8fed7a056f67edc7931b215
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Tue Jun 7 16:37:22 2016 +0100
toaster: replace viewkeys() -> keys()
Python 3 doesn't have dict.viewkeys method, renaming
to keys().
[YOCTO #9584]
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
lib/bb/ui/buildinfohelper.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bb/ui/buildinfohelper.py b/lib/bb/ui/buildinfohelper.py
index 37e1555..f2cf2a5 100644
--- a/lib/bb/ui/buildinfohelper.py
+++ b/lib/bb/ui/buildinfohelper.py
@@ -1070,7 +1070,7 @@ class BuildInfoHelper(object):
for t in self.internal_state['targets']:
if t.is_image == True:
- output_files = list(evdata.viewkeys())
+ output_files = list(evdata.keys())
for output in output_files:
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])
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list