1 |
commit: 08e4be7fa43c99b9acbfe30982d51ef6f881c000 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 22 19:43:11 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 22 19:43:11 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=08e4be7f |
7 |
|
8 |
_aux_env_search: decode unicode more |
9 |
|
10 |
--- |
11 |
pym/portage/dbapi/vartree.py | 3 +++ |
12 |
1 files changed, 3 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py |
15 |
index d93d3c2..b9ef583 100644 |
16 |
--- a/pym/portage/dbapi/vartree.py |
17 |
+++ b/pym/portage/dbapi/vartree.py |
18 |
@@ -798,6 +798,9 @@ class vardbapi(dbapi): |
19 |
else: |
20 |
value = [var_assign_match.group(4)] |
21 |
for line in proc.stdout: |
22 |
+ line = _unicode_decode(line, |
23 |
+ encoding=_encodings['content'], |
24 |
+ errors='replace') |
25 |
value.append(line) |
26 |
if have_end_quote(quote, line): |
27 |
break |