From 3e09e6650f904a155add470b37b8e332decc4f35 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 4 Aug 2009 21:40:32 +0000 Subject: Fix vardbapi._aux_get() to always return unicode. svn path=/main/trunk/; revision=13909 --- pym/portage/dbapi/vartree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22