binhost: http auth for python3 (bug #413983)
authorZac Medico <zmedico@gentoo.org>
Mon, 14 May 2012 05:01:51 +0000 (22:01 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 May 2012 05:01:51 +0000 (22:01 -0700)
commit2c191d17c5c879c51aeb1c6043d9185b9a5887c0
treea3fcbe096816732f89d079c75e58c552deeb157c
parent28213c0fb01e4c0db62c7fd4d6ffcc1ff5383fa5
binhost: http auth for python3 (bug #413983)

This uses the code from commit 58a8cd1bb943522bc53d02c008ee8eff798bfaaa
as a fallback for python3 when the default urlopen function fails. This
has been tested and is known to work with thttpd password
authentication (it works unencrypted and also when encrypted with
stunnel).
pym/portage/dbapi/bintree.py
pym/portage/util/_urlopen.py [new file with mode: 0644]