def get_os_ca_bundle_path():
 for path in POSSIBLE_CA_BUNDLE_PATHS:
  if os.path.exists(path):
   return path
 return None

def get_os_ca_bundle_path ( ) : for path in POSSIBLE_CA_BUNDLE_PATHS : if os . path . exists ( path ) : return path return None
try to pick an available ca certificate bundle provided by the os .