From e8197dda4639d30c41e80ef718f834ef1ba46bad Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Sep 2010 19:03:12 -0700 Subject: [PATCH] Bug #339231 - Return unicode from glsa.getText(). --- pym/portage/glsa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py index 116003a5d..82245f8f0 100644 --- a/pym/portage/glsa.py +++ b/pym/portage/glsa.py @@ -199,7 +199,7 @@ def getText(node, format): if format == "strip": rValue = rValue.strip(" \n\t") rValue = re.sub("[\s]{2,}", " ", rValue) - return rValue.encode("utf_8") + return rValue def getMultiTagsText(rootnode, tagname, format): """ -- 2.26.2