Make pep8 happy

This commit is contained in:
Liam Marshall
2015-10-04 15:42:05 -05:00
parent aa15fae11d
commit 7b50f5d9bf
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -219,9 +219,8 @@ def pyopenssl_load_certificate(data):
str(error) for error in openssl_errors)))
def _get_sans_from_cert_or_req(
cert_or_req_str, load_func, typ=OpenSSL.crypto.FILETYPE_PEM):
def _get_sans_from_cert_or_req(cert_or_req_str, load_func,
typ=OpenSSL.crypto.FILETYPE_PEM):
try:
cert_or_req = load_func(typ, cert_or_req_str)
except OpenSSL.crypto.Error as error: