copy of gentoolkit r451
authorMarius Mauch <genone@gentoo.org>
Fri, 5 Oct 2007 14:17:03 +0000 (14:17 -0000)
committerMarius Mauch <genone@gentoo.org>
Fri, 5 Oct 2007 14:17:03 +0000 (14:17 -0000)
svn path=/main/trunk/; revision=7946

pym/portage/glsa.py

index 5e2d5f08171a3db7b2f1ba658e8692e470721b7c..7e205d63a791d201db510c28834a282779a65ae9 100644 (file)
@@ -177,7 +177,7 @@ def getText(node, format):
        if format == "strip":
                rValue = rValue.strip(" \n\t")
                rValue = re.sub("[\s]{2,}", " ", rValue)
-       return str(rValue)
+       return rValue.encode("utf_8")
 
 def getMultiTagsText(rootnode, tagname, format):
        """