From: Ed Bartosh Date: Tue, 7 Jun 2016 15:37:22 +0000 (+0100) Subject: toaster: replace viewkeys() -> keys() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ae2fc26fc7c4f42817dece62b9a59fbda27c0b0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: replace viewkeys() -> keys() Python 3 doesn't have dict.viewkeys method, renaming to keys(). [YOCTO #9584] Signed-off-by: Ed Bartosh --- diff --git a/lib/bb/ui/buildinfohelper.py b/lib/bb/ui/buildinfohelper.py index d59d6a5f896..d5ba6293060 100644 --- a/lib/bb/ui/buildinfohelper.py +++ b/lib/bb/ui/buildinfohelper.py @@ -1067,7 +1067,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])