Bug #280259 - Use codecs.open() when reading the Packages file inside
authorZac Medico <zmedico@gentoo.org>
Tue, 4 Aug 2009 06:45:46 +0000 (06:45 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 4 Aug 2009 06:45:46 +0000 (06:45 -0000)
commit729b7d573c13250ee981b6f957a47ce58e7bb2df
tree7a56d2521e352f6cc99de3dea6f1993ed7982dbe
parent1c6aec2925776edc6694c660877dd2b7a9ac7111
Bug #280259 - Use codecs.open() when reading the Packages file inside
binarytree.inject(), in order to avoid a UnicodeDecodeError when the
file is later written as a unicode stream (via atomic_ofstream).

svn path=/main/trunk/; revision=13889
pym/portage/dbapi/bintree.py