diff options
Diffstat (limited to 'platform_utils_win32.py')
-rw-r--r-- | platform_utils_win32.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform_utils_win32.py b/platform_utils_win32.py index 8eb3d2c3..c59db523 100644 --- a/platform_utils_win32.py +++ b/platform_utils_win32.py | |||
@@ -152,7 +152,8 @@ def create_dirsymlink(source, link_name): | |||
152 | 152 | ||
153 | 153 | ||
154 | def _create_symlink(source, link_name, dwFlags): | 154 | def _create_symlink(source, link_name, dwFlags): |
155 | if not CreateSymbolicLinkW(link_name, source, dwFlags | SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE): | 155 | if not CreateSymbolicLinkW(link_name, source, |
156 | dwFlags | SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE): | ||
156 | # See https://github.com/golang/go/pull/24307/files#diff-b87bc12e4da2497308f9ef746086e4f0 | 157 | # See https://github.com/golang/go/pull/24307/files#diff-b87bc12e4da2497308f9ef746086e4f0 |
157 | # "the unprivileged create flag is unsupported below Windows 10 (1703, v10.0.14972). | 158 | # "the unprivileged create flag is unsupported below Windows 10 (1703, v10.0.14972). |
158 | # retry without it." | 159 | # retry without it." |