summaryrefslogtreecommitdiff
path: root/src/OpenSSL/SSL.py
diff options
context:
space:
mode:
authorwhiteowl3 <71030468+whiteowl3@users.noreply.github.com>2022-03-01 22:23:38 -0500
committerGitHub <noreply@github.com>2022-03-02 11:23:38 +0800
commit99911f75f110409742eaf710a178ff0201f9b4a9 (patch)
treebfd71c6a2927bc0d306fe349f0b1f63e97d4adee /src/OpenSSL/SSL.py
parentbb40cf2985d1319afaab84bf545aa2bd95ba23a5 (diff)
downloadpyopenssl-99911f75f110409742eaf710a178ff0201f9b4a9.tar.gz
flake8-import-order (#1099)
* flake8-import-order * make sure bad import orders fail * flake8-import-order * add application name to flake8 section * correct import order for openssl as application
Diffstat (limited to 'src/OpenSSL/SSL.py')
-rw-r--r--src/OpenSSL/SSL.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py
index 6064233..97eee20 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -1,10 +1,10 @@
import os
import socket
+from errno import errorcode
+from functools import partial, wraps
+from itertools import chain, count
from sys import platform
-from functools import wraps, partial
-from itertools import count, chain
from weakref import WeakValueDictionary
-from errno import errorcode
from OpenSSL._util import (
UNSPECIFIED as _UNSPECIFIED,
@@ -12,18 +12,17 @@ from OpenSSL._util import (
ffi as _ffi,
lib as _lib,
make_assert as _make_assert,
+ no_zero_allocator as _no_zero_allocator,
path_bytes as _path_bytes,
text_to_bytes_and_warn as _text_to_bytes_and_warn,
- no_zero_allocator as _no_zero_allocator,
)
-
from OpenSSL.crypto import (
FILETYPE_PEM,
- _PassphraseHelper,
PKey,
- X509Name,
X509,
+ X509Name,
X509Store,
+ _PassphraseHelper,
)
__all__ = [