commit | 227ad2ef42f47798d24814dfc2cef8119c313ab7 | [log] [tgz] |
---|---|---|
author | Renaud Paquay <rpaquay@google.com> | Tue Nov 01 14:37:13 2016 -0700 |
committer | Renaud Paquay <rpaquay@google.com> | Thu Aug 31 13:49:01 2017 -0700 |
tree | 0702d4dac67f59072edc6587122c27f4753021a5 | |
parent | 2a4be948788dfe5ae9437b048fba229a96bbff2d [diff] [blame] |
Implement islink, readlink and realpath using Win32 api Change-Id: I18452cbb32d24db73601ad10485dbe6bb278731c
diff --git a/subcmds/sync.py b/subcmds/sync.py index b88c596..93fea23 100644 --- a/subcmds/sync.py +++ b/subcmds/sync.py
@@ -498,7 +498,7 @@ 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: