dep_check: return errors as unicode
authorZac Medico <zmedico@gentoo.org>
Thu, 17 Mar 2011 18:39:28 +0000 (11:39 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 17 Mar 2011 18:39:28 +0000 (11:39 -0700)
commit730b33af5ab9e2b7efd2ee4928a1d635dfefaab0
tree3f078677fc557be86b0376bbfebd8fb8e40bd9e1
parent363a7478a100495d2e8597bc6c6d2fdac94339e0
dep_check: return errors as unicode

This should prevent the following error due to returning raw bytes,
reported in forum thread #869281:

File "pym/_emerge/BlockerDB.py", line 72, in findInstalledBlockers
portage.writemsg("!!! %s/*DEPEND: %s\n" % \
(pkg_location, atoms), noiselevel=-1)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in
position 23: ordinal not in range(128)
pym/portage/dep/dep_check.py