diff options
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index a46cf24e..86899f63 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -566,8 +566,9 @@ class XmlManifest(object): | |||
566 | if node.hasAttribute('groups'): | 566 | if node.hasAttribute('groups'): |
567 | groups = node.getAttribute('groups') | 567 | groups = node.getAttribute('groups') |
568 | groups = [x for x in re.split('[,\s]+', groups) if x] | 568 | groups = [x for x in re.split('[,\s]+', groups) if x] |
569 | if 'default' not in groups: | 569 | |
570 | groups.append('default') | 570 | default_groups = ['default', 'name:%s' % name, 'path:%s' % path] |
571 | groups.extend(set(default_groups).difference(groups)) | ||
571 | 572 | ||
572 | if self.IsMirror: | 573 | if self.IsMirror: |
573 | relpath = None | 574 | relpath = None |