From a84c222ec16151c99129b703d810ddbb05d4c2b2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Sep 2010 19:03:12 -0700 Subject: 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): """ -- cgit v1.2.3-1-g7c22