diff options
-rw-r--r-- | pym/repoman/utilities.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py index 9d4898e8a..ceb1ba17d 100644 --- a/pym/repoman/utilities.py +++ b/pym/repoman/utilities.py @@ -157,7 +157,8 @@ def parse_metadata_use(xml_tree): uselist[pkg_flag] = {} # (flag_restrict can be None) - uselist[pkg_flag][flag_restrict] = " ".join("".join(inner_text).split()) + uselist[pkg_flag][flag_restrict] = " ".join( \ + [x for x in "".join(inner_text).split() if x]) return uselist |