summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-30 19:03:12 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-30 19:07:02 -0700
commita84c222ec16151c99129b703d810ddbb05d4c2b2 (patch)
treeb05bb13068849595fb87e9ed7f4e9db6d689acb8 /pym
parent8c7a72a1f5c36050abe7f763c771fa166f9ca16a (diff)
downloadportage-a84c222ec16151c99129b703d810ddbb05d4c2b2.tar.gz
portage-a84c222ec16151c99129b703d810ddbb05d4c2b2.tar.bz2
portage-a84c222ec16151c99129b703d810ddbb05d4c2b2.zip
Bug #339231 - Return unicode from glsa.getText().
Diffstat (limited to 'pym')
-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 116003a5d..82245f8f0 100644
--- a/pym/portage/glsa.py
+++ b/pym/portage/glsa.py
@@ -199,7 +199,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):
"""