diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-20 11:53:11 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:24:00 +0100 |
| commit | 44e9a0d2fa759dea281fc32b602cd7878000c277 (patch) | |
| tree | 69f6944e4bf34e2309ae8b3cc11eac13afcdf675 /meta/classes/buildhistory.bbclass | |
| parent | 8587bce564f715e46e7317218b5c190813d3a939 (diff) | |
| download | poky-44e9a0d2fa759dea281fc32b602cd7878000c277.tar.gz | |
classes/lib: Update to explictly create lists where needed
Iterators now return views, not lists in python3. Where we need
lists, handle this explicitly.
(From OE-Core rev: caebd862bac7eed725e0f0321bf50793671b5312)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildhistory.bbclass')
| -rw-r--r-- | meta/classes/buildhistory.bbclass | 2 |
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() { | |||
| 274 | # Gather information about packaged files | 274 | # Gather information about packaged files |
| 275 | val = pkgdata.get('FILES_INFO', '') | 275 | val = pkgdata.get('FILES_INFO', '') |
| 276 | dictval = json.loads(val) | 276 | dictval = json.loads(val) |
| 277 | filelist = dictval.keys() | 277 | filelist = list(dictval.keys()) |
| 278 | filelist.sort() | 278 | filelist.sort() |
| 279 | pkginfo.filelist = " ".join(filelist) | 279 | pkginfo.filelist = " ".join(filelist) |
| 280 | 280 | ||
