From 3cda50a41b1a950d70be8887c5efe3735586d1bb Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 13 Feb 2020 13:17:03 +0900 Subject: 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 Reviewed-by: Mike Frysinger --- platform_utils_win32.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'platform_utils_win32.py') 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): def _create_symlink(source, link_name, dwFlags): - if not CreateSymbolicLinkW(link_name, source, dwFlags | SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE): + if not CreateSymbolicLinkW(link_name, source, + dwFlags | SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE): # See https://github.com/golang/go/pull/24307/files#diff-b87bc12e4da2497308f9ef746086e4f0 # "the unprivileged create flag is unsupported below Windows 10 (1703, v10.0.14972). # retry without it." -- cgit v1.2.3-54-g00ecf