diff options
-rw-r--r-- | cryptography/bindings/openssl/api.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cryptography/bindings/openssl/api.py b/cryptography/bindings/openssl/api.py index d9181d75..ee07dbcd 100644 --- a/cryptography/bindings/openssl/api.py +++ b/cryptography/bindings/openssl/api.py @@ -20,8 +20,9 @@ class OpenSSLError(Exception): def __init__(self, api): e = api._lib.ERR_get_error() if e == 0: - raise SystemError("Tried to create an OpenSSLError when there was " - "None") + raise SystemError( + "Tried to create an OpenSSLError when there was None" + ) msg = api._ffi.new("char[]", 120) api._lib.ERR_error_string(e, msg) super(OpenSSLError, self).__init__(api._ffi.string(msg)) |