diff options
author | David Pursehouse <dpursehouse@collab.net> | 2020-02-13 13:17:03 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-13 04:54:10 +0000 |
commit | 3cda50a41b1a950d70be8887c5efe3735586d1bb (patch) | |
tree | 35c40d0981784c2a1facb4a3fd62d99d53d8ae2f /platform_utils_win32.py | |
parent | afbccdb11e3aad56ba9b07f4321ec4752a0edb93 (diff) | |
download | git-repo-3cda50a41b1a950d70be8887c5efe3735586d1bb.tar.gz |
pyflakes: Fix remaining "E501 line too long" warnings
We increased the max line length to 100 columns which got rid of
the majority of these warnings, but there were still a few lines
that exceeded 100 columns.
Change-Id: Ib3372868ca2297f83073a14f91c8ae3df9d0d0e6
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254699
Tested-by: David Pursehouse <dpursehouse@collab.net>
Reviewed-by: Mike Frysinger <vapier@google.com>
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." |