diff options
author | Ross Burton <ross.burton@intel.com> | 2016-11-03 17:57:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-06 23:35:36 +0000 |
commit | 1655d55764eb0241b71217810500fcf1d4519a1c (patch) | |
tree | c8504098afe7b4dd28ae7faa3c7fd4c8bb429ba7 /scripts/lib | |
parent | 2295d3932cbffeca071c23e19700be8edd5e2638 (diff) | |
download | poky-1655d55764eb0241b71217810500fcf1d4519a1c.tar.gz |
distro_check: partial rewrite to make it work again
This library suffered as part of the Python 2 to Python 3 migration and stopped
working entirely.
Fix all the migration problems such as files being treated as strings but opened
in binary mode, insufficient use of with on files, and so on.
Rewrite large amounts to be Pythonic instead of C-in-Python.
Update OpenSuse and Fedora URLs.
Fedora now splits the archive alphabetically so handle that.
[ YOCTO #10562 ]
(From OE-Core rev: 58de12eaaac9c60bb8fc84a3a965ef86d2a39ae0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions