summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-04 21:40:32 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-04 21:40:32 +0000
commit3e09e6650f904a155add470b37b8e332decc4f35 (patch)
treebe1f289cf1d81f94dd3229865ca93617ff097873
parent119d1d026b0b9b4a6d8be711655300004f84b91b (diff)
downloadportage-3e09e6650f904a155add470b37b8e332decc4f35.tar.gz
portage-3e09e6650f904a155add470b37b8e332decc4f35.tar.bz2
portage-3e09e6650f904a155add470b37b8e332decc4f35.zip
Fix vardbapi._aux_get() to always return unicode.
svn path=/main/trunk/; revision=13909
-rw-r--r--pym/portage/dbapi/vartree.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index f99fb69da..075f38b2b 100644
--- 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