diff options
| author | Renaud Paquay <rpaquay@google.com> | 2016-11-01 14:37:13 -0700 |
|---|---|---|
| committer | Renaud Paquay <rpaquay@google.com> | 2017-08-31 13:49:01 -0700 |
| commit | 227ad2ef42f47798d24814dfc2cef8119c313ab7 (patch) | |
| tree | 0702d4dac67f59072edc6587122c27f4753021a5 /subcmds | |
| parent | 2a4be948788dfe5ae9437b048fba229a96bbff2d (diff) | |
| download | git-repo-227ad2ef42f47798d24814dfc2cef8119c313ab7.tar.gz | |
Implement islink, readlink and realpath using Win32 api
Change-Id: I18452cbb32d24db73601ad10485dbe6bb278731c
Diffstat (limited to 'subcmds')
| -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 b88c596d..93fea23b 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py | |||
| @@ -498,7 +498,7 @@ later is required to fix a server side protocol bug. | |||
| 498 | dirs_to_remove += [os.path.join(root, d) for d in dirs | 498 | dirs_to_remove += [os.path.join(root, d) for d in dirs |
| 499 | if os.path.join(root, d) not in dirs_to_remove] | 499 | if os.path.join(root, d) not in dirs_to_remove] |
| 500 | for d in reversed(dirs_to_remove): | 500 | for d in reversed(dirs_to_remove): |
| 501 | if os.path.islink(d): | 501 | if platform_utils.islink(d): |
| 502 | try: | 502 | try: |
| 503 | os.remove(d) | 503 | os.remove(d) |
| 504 | except OSError: | 504 | except OSError: |
