From: Zac Medico Date: Fri, 1 Oct 2010 02:03:12 +0000 (-0700) Subject: Bug #339231 - Return unicode from glsa.getText(). X-Git-Tag: v2.2_rc89~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e8197dda4639d30c41e80ef718f834ef1ba46bad;p=portage.git Bug #339231 - Return unicode from glsa.getText(). --- 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): """