def _ca_path(temp_dir=None):
 ca_path = system_path()
 if (ca_path is None):
  if (temp_dir is None):
   temp_dir = tempfile.gettempdir()
  if (not os.path.isdir(temp_dir)):
   raise CACertsError(pretty_message(u'\n                The temp dir specified, "%s", is not a directory\n                ', temp_dir))
  ca_path = os.path.join(temp_dir, u'oscrypto-ca-bundle.crt')
  return (ca_path, True)
 return (ca_path, False)

def _ca_path ( temp_dir = None ) : ca_path = system_path ( ) if ( ca_path is None ) : if ( temp_dir is None ) : temp_dir = tempfile . gettempdir ( ) if ( not os . path . isdir ( temp_dir ) ) : raise CACertsError ( pretty_message ( u'\n                The temp dir specified, "%s", is not a directory\n                ' , temp_dir ) ) ca_path = os . path . join ( temp_dir , u'oscrypto-ca-bundle.crt' ) return ( ca_path , True ) return ( ca_path , False )
returns the file path to the ca certs file .