diff options
author | Mike Frysinger <vapier@google.com> | 2023-08-21 21:20:32 -0400 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-08-22 18:32:22 +0000 |
commit | 6447733eb28ea188d551ae518a7e51ebf63a4350 (patch) | |
tree | 3e2571b39af0f8544dae4660ebc1d29e2a7bda9d /platform_utils_win32.py | |
parent | 06ddc8c50a7e802dbaf8468144c2b5773cda3714 (diff) | |
download | git-repo-6447733eb28ea188d551ae518a7e51ebf63a4350.tar.gz |
isort: format codebasev2.36
Change-Id: I6f11d123b68fd077f558d3c21349c55c5f251019
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/383715
Reviewed-by: Gavin Mak <gavinmak@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
Commit-Queue: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'platform_utils_win32.py')
-rw-r--r-- | platform_utils_win32.py | 24 |
1 files changed, 20 insertions, 4 deletions
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 @@ | |||
12 | # See the License for the specific language governing permissions and | 12 | # See the License for the specific language governing permissions and |
13 | # limitations under the License. | 13 | # limitations under the License. |
14 | 14 | ||
15 | from ctypes import addressof | ||
16 | from ctypes import byref | ||
17 | from ctypes import c_buffer | ||
18 | from ctypes import c_ubyte | ||
19 | from ctypes import FormatError | ||
20 | from ctypes import get_last_error | ||
21 | from ctypes import Structure | ||
22 | from ctypes import Union | ||
23 | from ctypes import WinDLL | ||
24 | from ctypes import WinError | ||
25 | from ctypes.wintypes import BOOL | ||
26 | from ctypes.wintypes import BOOLEAN | ||
27 | from ctypes.wintypes import DWORD | ||
28 | from ctypes.wintypes import HANDLE | ||
29 | from ctypes.wintypes import LPCWSTR | ||
30 | from ctypes.wintypes import LPDWORD | ||
31 | from ctypes.wintypes import LPVOID | ||
32 | from ctypes.wintypes import ULONG | ||
33 | from ctypes.wintypes import USHORT | ||
34 | from ctypes.wintypes import WCHAR | ||
15 | import errno | 35 | import errno |
16 | 36 | ||
17 | from ctypes import WinDLL, get_last_error, FormatError, WinError, addressof | ||
18 | from ctypes import c_buffer, c_ubyte, Structure, Union, byref | ||
19 | from ctypes.wintypes import BOOL, BOOLEAN, LPCWSTR, DWORD, HANDLE | ||
20 | from ctypes.wintypes import WCHAR, USHORT, LPVOID, ULONG, LPDWORD | ||
21 | 37 | ||
22 | kernel32 = WinDLL("kernel32", use_last_error=True) | 38 | kernel32 = WinDLL("kernel32", use_last_error=True) |
23 | 39 | ||