]> code.ossystems Code Review - openembedded-core.git/commit
oe/distro_check.py: Fixes for python3
authorAníbal Limón <anibal.limon@linux.intel.com>
Fri, 10 Jun 2016 15:12:10 +0000 (10:12 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jun 2016 22:46:54 +0000 (23:46 +0100)
commitee26ecf58277560459dd01992bb3f486f92c1531
treeb76c12cd85e6a9e7aa398370f3337daed7932c7b
parenta7a783c30cc58008f0e070dad39d40038e0a5eb5
oe/distro_check.py: Fixes for python3

create_socket: Use urllib because urllib2 is now urllib in python3
and proxies as argument are deprecated so export them in the environ
instead.

get_links_from_url: Change usage of sgmllib for parsing HTML because
is deprecated in python 3, use instead bs4 that is already imported
in the bitbake tree.

[YOCTO #9744]

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oe/distro_check.py