def find_ca_bundle():
 if (os.name == 'nt'):
  return get_win_certfile()
 else:
  for cert_path in cert_paths:
   if os.path.isfile(cert_path):
    return cert_path
 try:
  return pkg_resources.resource_filename('certifi', 'cacert.pem')
 except (ImportError, ResolutionError, ExtractionError):
  return None

def find_ca_bundle ( ) : if ( os . name == 'nt' ) : return get_win_certfile ( ) else : for cert_path in cert_paths : if os . path . isfile ( cert_path ) : return cert_path try : return pkg_resources . resource_filename ( 'certifi' , 'cacert.pem' ) except ( ImportError , ResolutionError , ExtractionError ) : return None
return an existing ca bundle path .