Pleasing the PEP8 gods
This commit is contained in:
@ -30,7 +30,7 @@ def ocsp_verify(cert_path, issuer_chain_path):
|
||||
url, err = p1.communicate()
|
||||
|
||||
p2 = subprocess.Popen(['openssl', 'ocsp', '-issuer', issuer_chain_path,
|
||||
'-cert', cert_path, "-url", url.strip()], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
'-cert', cert_path, "-url", url.strip()], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
|
||||
message, err = p2.communicate()
|
||||
if 'error' in message or 'Error' in message:
|
||||
@ -132,4 +132,4 @@ def verify_string(cert_string, issuer_string):
|
||||
|
||||
|
||||
def remove_tmp_file(file_path):
|
||||
os.remove(file_path)
|
||||
os.remove(file_path)
|
||||
|
Reference in New Issue
Block a user