projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d52463
)
_aux_env_search: decode unicode more
author
Zac Medico
<zmedico@gentoo.org>
Thu, 22 Dec 2011 19:43:11 +0000
(11:43 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 22 Dec 2011 19:43:11 +0000
(11:43 -0800)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index d93d3c2ea26d205f02cc3a62b18eb68df228f79e..b9ef58341487264f37314a467f8abcd21f20ae25 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-798,6
+798,9
@@
class vardbapi(dbapi):
else:
value = [var_assign_match.group(4)]
for line in proc.stdout:
+ line = _unicode_decode(line,
+ encoding=_encodings['content'],
+ errors='replace')
value.append(line)
if have_end_quote(quote, line):
break