summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2013-01-14 22:34:13 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-01-14 22:34:13 +0000
commit0290cad5db0eef3b15eb976dd7a017837e36c8b7 (patch)
tree70cbd27abcad80e79699e63c5bc184e54f7c3ab9
parenta9f11b3cb281270084526a490dc61625b51b8192 (diff)
parent0c635bb42708bb2151a92c39b31464bde1ab46f4 (diff)
downloadgit-repo-0290cad5db0eef3b15eb976dd7a017837e36c8b7.tar.gz
Merge "Make -notdefault a default manifest group"
-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')