diff options
Diffstat (limited to 'command.py')
-rw-r--r-- | command.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -58,7 +58,7 @@ class Command(object): | |||
58 | """Perform the action, after option parsing is complete. | 58 | """Perform the action, after option parsing is complete. |
59 | """ | 59 | """ |
60 | raise NotImplementedError | 60 | raise NotImplementedError |
61 | 61 | ||
62 | def GetProjects(self, args, missing_ok=False): | 62 | def GetProjects(self, args, missing_ok=False): |
63 | """A list of projects that match the arguments. | 63 | """A list of projects that match the arguments. |
64 | """ | 64 | """ |
@@ -68,8 +68,9 @@ class Command(object): | |||
68 | mp = self.manifest.manifestProject | 68 | mp = self.manifest.manifestProject |
69 | 69 | ||
70 | groups = mp.config.GetString('manifest.groups') | 70 | groups = mp.config.GetString('manifest.groups') |
71 | if groups: | 71 | if groups is None: |
72 | groups = re.split('[,\s]+', groups) | 72 | groups = 'default' |
73 | groups = [x for x in re.split('[,\s]+', groups) if x] | ||
73 | 74 | ||
74 | if not args: | 75 | if not args: |
75 | for project in all.values(): | 76 | for project in all.values(): |