Handle symlink content with bad encoding.
authorZac Medico <zmedico@gentoo.org>
Sat, 3 Sep 2011 23:46:09 +0000 (16:46 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 3 Sep 2011 23:46:09 +0000 (16:46 -0700)
commita62537685afbe492d4686cb6a636cbe556fe74d9
tree6209e4af4841a29003f2485ae0654a0df9216ec0
parentfe01dc23324660ae18c732cfacd458c3faf50ad7
Handle symlink content with bad encoding.

This will fix bug #381629. The case is tested in tests/emerge. During
forced charset conversion, 'ascii' codec is forced, since otherwise we
somehow end up with the wrongly encoded file names when running the
test with Python 3.2 (which causes encoding problems for quickpkg when
it calls tarfile.gettarinfo).
pym/portage/dbapi/vartree.py
pym/portage/package/ebuild/doebuild.py
pym/portage/tests/emerge/test_simple.py