From: Marius Mauch Date: Fri, 5 Oct 2007 14:17:03 +0000 (-0000) Subject: copy of gentoolkit r451 X-Git-Tag: v2.2_pre1~723 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5169c56c7676412fab06fe0203b819a77ff4bd26;p=portage.git copy of gentoolkit r451 svn path=/main/trunk/; revision=7946 --- diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py index 5e2d5f081..7e205d63a 100644 --- a/pym/portage/glsa.py +++ b/pym/portage/glsa.py @@ -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): """