1 |
commit: c202f11dc844edc8dea4ececc6ac8590af903cf0 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 5 00:56:14 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 5 00:56:14 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=c202f11d |
7 |
|
8 |
Revert "parse_metadata_use(): omit empty text tokens." |
9 |
|
10 |
This reverts commit 52f6b55d51e2accaa446bc5d6920421959289baa. |
11 |
|
12 |
Since split() never return empty tokens, this patch does nothing. |
13 |
|
14 |
--- |
15 |
pym/repoman/utilities.py | 3 +-- |
16 |
1 files changed, 1 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py |
19 |
index ceb1ba1..9d4898e 100644 |
20 |
--- a/pym/repoman/utilities.py |
21 |
+++ b/pym/repoman/utilities.py |
22 |
@@ -157,8 +157,7 @@ def parse_metadata_use(xml_tree): |
23 |
uselist[pkg_flag] = {} |
24 |
|
25 |
# (flag_restrict can be None) |
26 |
- uselist[pkg_flag][flag_restrict] = " ".join( \ |
27 |
- [x for x in "".join(inner_text).split() if x]) |
28 |
+ uselist[pkg_flag][flag_restrict] = " ".join("".join(inner_text).split()) |
29 |
|
30 |
return uselist |