projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818c291
)
Bug #339231 - Return unicode from glsa.getText().
author
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Oct 2010 02:03:12 +0000
(19:03 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 1 Oct 2010 02:03:12 +0000
(19:03 -0700)
pym/portage/glsa.py
patch
|
blob
|
history
diff --git
a/pym/portage/glsa.py
b/pym/portage/glsa.py
index a152cd576c7ae5e0c0c0e5ab72698d3d3c891e15..7e7f4976e0ba1f4a5a7c563177cd2dd0574ba2cf 100644
(file)
--- a/
pym/portage/glsa.py
+++ b/
pym/portage/glsa.py
@@
-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):
"""