diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-02-04 16:56:14 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-02-04 16:59:07 -0800 |
commit | 4b392c1d2a081f6fb10c0a02e7f0e9bacb98d38b (patch) | |
tree | ece49060199a81f19fd95b58e1ddd19cc6f88c08 /pym | |
parent | 2adc4b170114808b688df080bd5428feda61a425 (diff) | |
download | portage-4b392c1d2a081f6fb10c0a02e7f0e9bacb98d38b.tar.gz portage-4b392c1d2a081f6fb10c0a02e7f0e9bacb98d38b.tar.bz2 portage-4b392c1d2a081f6fb10c0a02e7f0e9bacb98d38b.zip |
Revert "parse_metadata_use(): omit empty text tokens."
This reverts commit 52f6b55d51e2accaa446bc5d6920421959289baa.
Since split() never return empty tokens, this patch does nothing.
Diffstat (limited to 'pym')
-rw-r--r-- | pym/repoman/utilities.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py index ceb1ba17d..9d4898e8a 100644 --- 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 |