diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-07-20 18:57:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-07-20 18:57:18 +0000 |
commit | 42dbc8067534ae2f8183a6bc69202fb08c81a4aa (patch) | |
tree | 19ce9c203dd8a7f3b21cb6834ed2fe1449945c41 /pym/_emerge/ProgressHandler.py | |
parent | dd0bd38bd9648387b6cae69540d9bfd2cac87d75 (diff) | |
download | portage-42dbc8067534ae2f8183a6bc69202fb08c81a4aa.tar.gz portage-42dbc8067534ae2f8183a6bc69202fb08c81a4aa.tar.bz2 portage-42dbc8067534ae2f8183a6bc69202fb08c81a4aa.zip |
In grablines(), specify encoding=sys.getdefaultencoding() in the codecs.open()
parameters, since otherwise readlines doesn't return unicode (at least in
some cases, observed with python-2.6.2). Also, fix grabfile() to return
unicode when it normalizes whitespace.
svn path=/main/trunk/; revision=13837
Diffstat (limited to 'pym/_emerge/ProgressHandler.py')
0 files changed, 0 insertions, 0 deletions