summaryrefslogtreecommitdiff
path: root/django/core/files/locks.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2020-07-24 07:25:47 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-30 10:58:59 +0200
commite74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 (patch)
treee478c6d04bbd8b8e1059d67e4e34e61a7666cc58 /django/core/files/locks.py
parent1173db4a16bb2938ba62a6cd50372a76a7f9e05f (diff)
downloaddjango-e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85.tar.gz
Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable.
Diffstat (limited to 'django/core/files/locks.py')
-rw-r--r--django/core/files/locks.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/django/core/files/locks.py b/django/core/files/locks.py
index 42631b3492..c46b00b905 100644
--- a/django/core/files/locks.py
+++ b/django/core/files/locks.py
@@ -28,8 +28,10 @@ def _fd(f):
if os.name == 'nt':
import msvcrt
- from ctypes import (sizeof, c_ulong, c_void_p, c_int64,
- Structure, Union, POINTER, windll, byref)
+ from ctypes import (
+ POINTER, Structure, Union, byref, c_int64, c_ulong, c_void_p, sizeof,
+ windll,
+ )
from ctypes.wintypes import BOOL, DWORD, HANDLE
LOCK_SH = 0 # the default