projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7972eb4
)
In _check_build_log(), open the log in text mode (unicode).
author
Zac Medico
<zmedico@gentoo.org>
Wed, 5 Aug 2009 00:12:39 +0000
(
00:12
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 5 Aug 2009 00:12:39 +0000
(
00:12
-0000)
svn path=/main/trunk/; revision=13914
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 3da1281b93a7db54cb44bfa875ec5b762e44bc57..eb7547c3044e05806323e90c33ddd8f47066f641 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-5012,7
+5012,8
@@
def _check_build_log(mysettings, out=None):
if logfile is None:
return
try:
- f = open(logfile)
+ f = codecs.open(logfile, mode='r',
+ encoding='utf_8', errors='replace')
except EnvironmentError:
return