projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119d1d0
)
Fix vardbapi._aux_get() to always return unicode.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 4 Aug 2009 21:40:32 +0000
(21:40 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 4 Aug 2009 21:40:32 +0000
(21:40 -0000)
svn path=/main/trunk/; revision=13909
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index f99fb69da1fdd813c17ffff16b14e8c51d88e953..075f38b2bd23f584e5a865b3617df1910dbc4c8c 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-1233,9
+1233,9
@@
class vardbapi(dbapi):
if self._aux_multi_line_re.match(x) is None:
myd = " ".join(myd.split())
except IOError:
- myd =
""
+ myd =
u''
if x == "EAPI" and not myd:
- results.append(
"0"
)
+ results.append(
u'0'
)
else:
results.append(myd)
return results