[gnome-continuous-yocto/gnomeostree-3.28-rocko: 903/8267] bitbake: toaster: replace viewkeys() -> keys()



commit f0740b038f8efe2dc30aa91ac040e9f4f1eb8e72
Author: Ed Bartosh <ed bartosh linux intel com>
Date:   Tue Jun 7 16:37:22 2016 +0100

    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>

 bitbake/lib/bb/ui/buildinfohelper.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index d59d6a5..d5ba629 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/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])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]