From 6447733eb28ea188d551ae518a7e51ebf63a4350 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 21 Aug 2023 21:20:32 -0400 Subject: isort: format codebase Change-Id: I6f11d123b68fd077f558d3c21349c55c5f251019 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/383715 Reviewed-by: Gavin Mak Tested-by: Mike Frysinger Commit-Queue: Mike Frysinger --- platform_utils_win32.py | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'platform_utils_win32.py') diff --git a/platform_utils_win32.py b/platform_utils_win32.py index e9b15f46..80a52639 100644 --- a/platform_utils_win32.py +++ b/platform_utils_win32.py @@ -12,12 +12,28 @@ # See the License for the specific language governing permissions and # limitations under the License. +from ctypes import addressof +from ctypes import byref +from ctypes import c_buffer +from ctypes import c_ubyte +from ctypes import FormatError +from ctypes import get_last_error +from ctypes import Structure +from ctypes import Union +from ctypes import WinDLL +from ctypes import WinError +from ctypes.wintypes import BOOL +from ctypes.wintypes import BOOLEAN +from ctypes.wintypes import DWORD +from ctypes.wintypes import HANDLE +from ctypes.wintypes import LPCWSTR +from ctypes.wintypes import LPDWORD +from ctypes.wintypes import LPVOID +from ctypes.wintypes import ULONG +from ctypes.wintypes import USHORT +from ctypes.wintypes import WCHAR import errno -from ctypes import WinDLL, get_last_error, FormatError, WinError, addressof -from ctypes import c_buffer, c_ubyte, Structure, Union, byref -from ctypes.wintypes import BOOL, BOOLEAN, LPCWSTR, DWORD, HANDLE -from ctypes.wintypes import WCHAR, USHORT, LPVOID, ULONG, LPDWORD kernel32 = WinDLL("kernel32", use_last_error=True) -- cgit v1.2.3-54-g00ecf