From: Zac Medico Date: Tue, 4 Aug 2009 21:40:32 +0000 (-0000) Subject: Fix vardbapi._aux_get() to always return unicode. X-Git-Tag: v2.2_rc36~8 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3e09e6650f904a155add470b37b8e332decc4f35;p=portage.git Fix vardbapi._aux_get() to always return unicode. svn path=/main/trunk/; revision=13909 --- 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