projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c7a72a
)
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:07:02 +0000
(19:07 -0700)
pym/portage/glsa.py
patch
|
blob
|
history
diff --git
a/pym/portage/glsa.py
b/pym/portage/glsa.py
index 116003a5de99fd45c81dbcc31a03bd8a7e59ab9c..82245f8f0d1592a4cc6f6a1aa8dedac93956661e 100644
(file)
--- 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):
"""