aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-10-05 14:17:03 +0000
committerMarius Mauch <genone@gentoo.org>2007-10-05 14:17:03 +0000
commit5169c56c7676412fab06fe0203b819a77ff4bd26 (patch)
treecce3b8b4db5df7944ce202925fb8baf63a524e27 /pym/portage/glsa.py
parentBug #194764 - All the match* functions can raise (diff)
downloadportage-5169c56c7676412fab06fe0203b819a77ff4bd26.tar.gz
portage-5169c56c7676412fab06fe0203b819a77ff4bd26.tar.bz2
portage-5169c56c7676412fab06fe0203b819a77ff4bd26.zip
copy of gentoolkit r451
svn path=/main/trunk/; revision=7946
Diffstat (limited to 'pym/portage/glsa.py')
-rw-r--r--pym/portage/glsa.py2
1 files changed, 1 insertions, 1 deletions
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):
"""