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_rc90~69 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=31d8bd9acc2c5a392782f3a74707e697875ed55f;p=portage.git Bug #339231 - Return unicode from glsa.getText(). --- diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py index a152cd576..7e7f4976e 100644 --- a/pym/portage/glsa.py +++ b/pym/portage/glsa.py @@ -200,7 +200,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): """