diff options
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index 0abe23d6..fa61d551 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -316,7 +316,7 @@ later is required to fix a server side protocol bug. | |||
316 | if not have_superproject: | 316 | if not have_superproject: |
317 | return | 317 | return |
318 | 318 | ||
319 | if opt.local_only: | 319 | if opt.local_only and manifest.superproject: |
320 | manifest_path = manifest.superproject.manifest_path | 320 | manifest_path = manifest.superproject.manifest_path |
321 | if manifest_path: | 321 | if manifest_path: |
322 | self._ReloadManifest(manifest_path, manifest) | 322 | self._ReloadManifest(manifest_path, manifest) |