projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99883fc
)
Revert "parse_metadata_use(): omit empty text tokens."
author
Zac Medico
<zmedico@gentoo.org>
Sat, 5 Feb 2011 00:56:14 +0000
(16:56 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 5 Feb 2011 00:56:14 +0000
(16:56 -0800)
This reverts commit
52f6b55d51e2accaa446bc5d6920421959289baa
.
Since split() never return empty tokens, this patch does nothing.
pym/repoman/utilities.py
patch
|
blob
|
history
diff --git
a/pym/repoman/utilities.py
b/pym/repoman/utilities.py
index ceb1ba17dc7a5d5c250fa5dc46b68575a31a9a54..9d4898e8a99d1c4c7334b1ef7de495da0a9269f6 100644
(file)
--- a/
pym/repoman/utilities.py
+++ b/
pym/repoman/utilities.py
@@
-157,8
+157,7
@@
def parse_metadata_use(xml_tree):
uselist[pkg_flag] = {}
# (flag_restrict can be None)
- uselist[pkg_flag][flag_restrict] = " ".join( \
- [x for x in "".join(inner_text).split() if x])
+ uselist[pkg_flag][flag_restrict] = " ".join("".join(inner_text).split())
return uselist