diff options
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: |
