Add clarifying comment.

This commit is contained in:
Brad Warren 2020-05-20 14:59:20 -07:00
parent f325009ff9
commit f6787d2b2f

View file

@ -150,6 +150,7 @@ class OCSPPrefetchMixin(object):
"""
self._ensure_ocsp_dirs()
# Ensure cert_path exists before trying to use it.
if not os.path.isfile(cert_path):
raise OCSPCertificateError("Certificate has been removed from the system.")
ocsp_workfile = os.path.join(