summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--manifest_xml.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/manifest_xml.py b/manifest_xml.py
index 0664eff9..1300e916 100644
--- a/manifest_xml.py
+++ b/manifest_xml.py
@@ -146,9 +146,8 @@ class XmlManifest(object):
146 mp = self.manifestProject 146 mp = self.manifestProject
147 147
148 groups = mp.config.GetString('manifest.groups') 148 groups = mp.config.GetString('manifest.groups')
149 if not groups: 149 if groups:
150 groups = 'all' 150 groups = [x for x in re.split(r'[,\s]+', groups) if x]
151 groups = [x for x in re.split(r'[,\s]+', groups) if x]
152 151
153 doc = xml.dom.minidom.Document() 152 doc = xml.dom.minidom.Document()
154 root = doc.createElement('manifest') 153 root = doc.createElement('manifest')