aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/buildhistory.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-20 11:53:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-02 08:10:02 +0100
commitcaebd862bac7eed725e0f0321bf50793671b5312 (patch)
tree2da96b5da7b9b0e0ef04c03cf74f14ddfd180f30 /meta/classes/buildhistory.bbclass
parent2476bdcbef591e951d11d57d53f1315848758571 (diff)
downloadopenembedded-core-contrib-caebd862bac7eed725e0f0321bf50793671b5312.tar.gz
openembedded-core-contrib-caebd862bac7eed725e0f0321bf50793671b5312.tar.bz2
openembedded-core-contrib-caebd862bac7eed725e0f0321bf50793671b5312.zip
classes/lib: Update to explictly create lists where needed
Iterators now return views, not lists in python3. Where we need lists, handle this explicitly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
-rw-r--r--meta/classes/buildhistory.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index cc233b5130..1ccd9ee485 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -274,7 +274,7 @@ python buildhistory_emit_pkghistory() {
# Gather information about packaged files
val = pkgdata.get('FILES_INFO', '')
dictval = json.loads(val)
- filelist = dictval.keys()
+ filelist = list(dictval.keys())
filelist.sort()
pkginfo.filelist = " ".join(filelist)