diff options
Diffstat (limited to 'project.py')
| -rw-r--r-- | project.py | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -715,7 +715,8 @@ class Project(object): | |||
| 715 | The special manifest group "default" will match any project that | 715 | The special manifest group "default" will match any project that |
| 716 | does not have the special project group "notdefault" | 716 | does not have the special project group "notdefault" |
| 717 | """ | 717 | """ |
| 718 | expanded_manifest_groups = manifest_groups or ['default'] | 718 | default_groups = self.manifest.default_groups or ['default'] |
| 719 | expanded_manifest_groups = manifest_groups or default_groups | ||
| 719 | expanded_project_groups = ['all'] + (self.groups or []) | 720 | expanded_project_groups = ['all'] + (self.groups or []) |
| 720 | if 'notdefault' not in expanded_project_groups: | 721 | if 'notdefault' not in expanded_project_groups: |
| 721 | expanded_project_groups += ['default'] | 722 | expanded_project_groups += ['default'] |
| @@ -3496,7 +3497,7 @@ class ManifestProject(MetaProject): | |||
| 3496 | """ | 3497 | """ |
| 3497 | assert _kwargs_only == (), 'Sync only accepts keyword arguments.' | 3498 | assert _kwargs_only == (), 'Sync only accepts keyword arguments.' |
| 3498 | 3499 | ||
| 3499 | groups = groups or 'default' | 3500 | groups = groups or self.manifest.GetDefaultGroupsStr(with_platform=False) |
| 3500 | platform = platform or 'auto' | 3501 | platform = platform or 'auto' |
| 3501 | git_event_log = git_event_log or EventLog() | 3502 | git_event_log = git_event_log or EventLog() |
| 3502 | if outer_manifest and self.manifest.is_submanifest: | 3503 | if outer_manifest and self.manifest.is_submanifest: |
