Bug #339231 - Return unicode from glsa.getText().
authorZac Medico <zmedico@gentoo.org>
Fri, 1 Oct 2010 02:03:12 +0000 (19:03 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 1 Oct 2010 02:03:12 +0000 (19:03 -0700)
pym/portage/glsa.py

index a152cd576c7ae5e0c0c0e5ab72698d3d3c891e15..7e7f4976e0ba1f4a5a7c563177cd2dd0574ba2cf 100644 (file)
@@ -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):
        """