aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-08-11 07:14:01 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2013-08-11 07:14:01 -0400
commit18b3337075afa9a98742e87cb525a21feae183f0 (patch)
tree0851ab14a15be89aad5aaf730a49b3b6319261c0
parent425f5842958079ee45c24c5432ab0cf5e2db0f79 (diff)
downloadcryptography-18b3337075afa9a98742e87cb525a21feae183f0.tar.gz
cryptography-18b3337075afa9a98742e87cb525a21feae183f0.tar.bz2
cryptography-18b3337075afa9a98742e87cb525a21feae183f0.zip
Style fix
-rw-r--r--cryptography/bindings/openssl/api.py5
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))