diff options
Diffstat (limited to 'subcmds/sync.py')
-rw-r--r-- | subcmds/sync.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subcmds/sync.py b/subcmds/sync.py index 402aff67..8de730bc 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
@@ -781,8 +781,8 @@ later is required to fix a server side protocol bug. | |||
781 | # generate a new args list to represent the opened projects. | 781 | # generate a new args list to represent the opened projects. |
782 | # TODO: make this more reliable -- if there's a project name/path overlap, | 782 | # TODO: make this more reliable -- if there's a project name/path overlap, |
783 | # this may choose the wrong project. | 783 | # this may choose the wrong project. |
784 | args = [os.path.relpath(self.manifest.paths[p].worktree, os.getcwd()) | 784 | args = [os.path.relpath(self.manifest.paths[path].worktree, os.getcwd()) |
785 | for p in opened_projects] | 785 | for path in opened_projects] |
786 | if not args: | 786 | if not args: |
787 | return | 787 | return |
788 | all_projects = self.GetProjects(args, | 788 | all_projects = self.GetProjects(args, |