summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/repoman/utilities.py3
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