From 227ad2ef42f47798d24814dfc2cef8119c313ab7 Mon Sep 17 00:00:00 2001 From: Renaud Paquay Date: Tue, 1 Nov 2016 14:37:13 -0700 Subject: Implement islink, readlink and realpath using Win32 api Change-Id: I18452cbb32d24db73601ad10485dbe6bb278731c --- subcmds/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subcmds/sync.py') 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. dirs_to_remove += [os.path.join(root, d) for d in dirs if os.path.join(root, d) not in dirs_to_remove] for d in reversed(dirs_to_remove): - if os.path.islink(d): + if platform_utils.islink(d): try: os.remove(d) except OSError: -- cgit v1.2.3-54-g00ecf