From c39864f5e12fa4a6d3f2cdb4921afc021406d106 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 23 Apr 2012 13:41:58 -0700 Subject: Treat groups= as default Previous incarnations of groups support left "groups=" in the repo .config, which is now treated as "delete all the projects". Treat empty groups configuration the same as no groups configuration. Change-Id: I57dab8dac55bdbf4cc181e2748cd2e4e510764f5 --- manifest_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifest_xml.py') diff --git a/manifest_xml.py b/manifest_xml.py index 5ffc49e9..d20eac2a 100644 --- a/manifest_xml.py +++ b/manifest_xml.py @@ -122,7 +122,7 @@ class XmlManifest(object): mp = self.manifestProject groups = mp.config.GetString('manifest.groups') - if groups is None: + if not groups: groups = 'default' groups = [x for x in re.split(r'[,\s]+', groups) if x] -- cgit v1.2.3-54-g00ecf