diff options
Diffstat (limited to 'subcmds/init.py')
-rw-r--r-- | subcmds/init.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/subcmds/init.py b/subcmds/init.py index 191f02b2..7181b86f 100644 --- a/subcmds/init.py +++ b/subcmds/init.py | |||
@@ -223,7 +223,7 @@ to update the working directory files. | |||
223 | platformize = lambda x: 'platform-' + x | 223 | platformize = lambda x: 'platform-' + x |
224 | if opt.platform == 'auto': | 224 | if opt.platform == 'auto': |
225 | if (not opt.mirror and | 225 | if (not opt.mirror and |
226 | not m.config.GetString('repo.mirror') == 'true'): | 226 | not m.config.GetString('repo.mirror') == 'true'): |
227 | groups.append(platformize(platform.system().lower())) | 227 | groups.append(platformize(platform.system().lower())) |
228 | elif opt.platform == 'all': | 228 | elif opt.platform == 'all': |
229 | groups.extend(map(platformize, all_platforms)) | 229 | groups.extend(map(platformize, all_platforms)) |
@@ -280,10 +280,10 @@ to update the working directory files. | |||
280 | m.config.SetString('repo.submodules', 'true') | 280 | m.config.SetString('repo.submodules', 'true') |
281 | 281 | ||
282 | if not m.Sync_NetworkHalf(is_new=is_new, quiet=opt.quiet, | 282 | if not m.Sync_NetworkHalf(is_new=is_new, quiet=opt.quiet, |
283 | clone_bundle=not opt.no_clone_bundle, | 283 | clone_bundle=not opt.no_clone_bundle, |
284 | current_branch_only=opt.current_branch_only, | 284 | current_branch_only=opt.current_branch_only, |
285 | no_tags=opt.no_tags, submodules=opt.submodules, | 285 | no_tags=opt.no_tags, submodules=opt.submodules, |
286 | clone_filter=opt.clone_filter): | 286 | clone_filter=opt.clone_filter): |
287 | r = m.GetRemote(m.remote.name) | 287 | r = m.GetRemote(m.remote.name) |
288 | print('fatal: cannot obtain manifest %s' % r.url, file=sys.stderr) | 288 | print('fatal: cannot obtain manifest %s' % r.url, file=sys.stderr) |
289 | 289 | ||