diff options
author | Renaud Paquay <rpaquay@google.com> | 2016-11-01 18:28:01 -0700 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2017-05-28 21:18:13 +0900 |
commit | fef9f21b28d3b59804fdd5db2bbb86e797051dab (patch) | |
tree | 5d3370f9631ea267c9a1c51855de31eb62deda3e /project.py | |
parent | 6a470be220abd777dae8d62cce4155be9fd136aa (diff) | |
download | git-repo-fef9f21b28d3b59804fdd5db2bbb86e797051dab.tar.gz |
Fix misplaced file separator string.replace call
Project names are stored as path using the '/' file separator, and
stored in a dictionary as keys.
Change-Id: Ide40dfe840958ac0d46caae5f77f1a49d71c9d90
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -687,7 +687,7 @@ class Project(object): | |||
687 | self.gitdir = gitdir.replace('\\', '/') | 687 | self.gitdir = gitdir.replace('\\', '/') |
688 | self.objdir = objdir.replace('\\', '/') | 688 | self.objdir = objdir.replace('\\', '/') |
689 | if worktree: | 689 | if worktree: |
690 | self.worktree = os.path.normpath(worktree.replace('\\', '/')) | 690 | self.worktree = os.path.normpath(worktree).replace('\\', '/') |
691 | else: | 691 | else: |
692 | self.worktree = None | 692 | self.worktree = None |
693 | self.relpath = relpath | 693 | self.relpath = relpath |