o
    œ$W_Ú  ã                   @   sf   d Z ddlZdZzddlmZmZ dadadd„ Z	W n e
y,   ddd	„Zd
d„ Z	Y nw dd„ ZdS )ze
certifi.py
~~~~~~~~~~

This module returns the installation location of cacert.pem or its contents.
é    Nz"/etc/ssl/certs/ca-certificates.crt)ÚpathÚ	read_textc                   C   s   t d u rta t S ©N)Ú_CACERT_PATHÚDEBIAN_CA_CERTS_PATH© r   r   ú./usr/lib/python3/dist-packages/certifi/core.pyÚwhere   s   r	   Úasciic                 C   s<   t tƒ d|d}| ¡ W  d   ƒ S 1 sw   Y  d S )NÚr©Úencoding©Úopenr	   Úread)Ú_moduleÚ_pathr   Údatar   r   r   r   0   ó   $ÿr   c                   C   s   t S r   )r   r   r   r   r   r	   6   s   c                  C   s<   t tƒ ddd} |  ¡ W  d   ƒ S 1 sw   Y  d S )Nr   r
   r   r   )r   r   r   r   Úcontents:   r   r   )r
   )Ú__doc__Úosr   Úimportlib.resourcesr   Úget_pathr   Ú_CACERT_CTXr   r	   ÚImportErrorr   r   r   r   r   Ú<module>   s   
õ