3
W>p_)  ã               @   sP   d dl mZmZ d dlmZ ddlmZmZ G dd„ deƒZG dd„ deƒZ	d	S )
é    )Úabsolute_importÚunicode_literals)Úcontextmanageré   )ÚAppDataÚContentStorec               @   s|   e Zd ZdZdd„ ZedƒZdd„ Zdd„ Zd	d
„ Z	dd„ Z
dd„ Zedd„ ƒZedd„ ƒZdd„ Zedd„ ƒZdd„ ZdS )ÚAppDataDisabledzONo application cache available (most likely as we don't have write permissions)c             C   s   d S )N© )Úselfr	   r	   ú‹/home/aldo/Documentos/tesis/tesis/device auto/pruebas pulsar/pruebaclonado/envClonado/lib/python3.6/site-packages/virtualenv/app_data/na.pyÚ__init__   s    zAppDataDisabled.__init__zDno app data folder available, probably no write access to the folderc             C   s   dS )z
do nothingNr	   )r
   r	   r	   r   Úclose   s    zAppDataDisabled.closec             C   s   dS )z
do nothingNr	   )r
   r	   r	   r   Úreset   s    zAppDataDisabled.resetc             C   s   t ƒ S )N)ÚContentStoreNA)r
   Úpathr	   r	   r   Úpy_info   s    zAppDataDisabled.py_infoc             C   s   t ƒ S )N)r   )r
   ÚdistributionÚfor_py_versionr	   r	   r   Úembed_update_log   s    z AppDataDisabled.embed_update_logc             C   s
   | j ‚d S )N)Úerror)r
   r   Z	to_folderr	   r	   r   Úextract   s    zAppDataDisabled.extractc             c   s
   dV  dS )z
do nothingNr	   )r
   r   r	   r	   r   Úlocked   s    zAppDataDisabled.lockedc             C   s
   | j ‚d S )N)r   )r
   r	   r	   r   Úhouse$   s    zAppDataDisabled.housec             C   s
   | j ‚d S )N)r   )r
   r   Únamer	   r	   r   Úwheel_image(   s    zAppDataDisabled.wheel_imagec             C   s   dS )NTr	   )r
   r	   r	   r   Ú	transient+   s    zAppDataDisabled.transientc             C   s   dS )Ú Nr	   )r
   r	   r	   r   Úpy_info_clear/   s    zAppDataDisabled.py_info_clearN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   ÚRuntimeErrorr   r   r   r   r   r   r   r   Úpropertyr   r   r   r   r	   r	   r	   r   r      s   r   c               @   s8   e Zd Zdd„ Zdd„ Zdd„ Zdd„ Zed	d
„ ƒZdS )r   c             C   s   dS )NFr	   )r
   r	   r	   r   Úexists4   s    zContentStoreNA.existsc             C   s   dS )r   Nr	   )r
   r	   r	   r   Úread7   s    zContentStoreNA.readc             C   s   dS )r   Nr	   )r
   Úcontentr	   r	   r   Úwrite;   s    zContentStoreNA.writec             C   s   dS )r   Nr	   )r
   r	   r	   r   Úremove>   s    zContentStoreNA.removec             c   s
   d V  d S )Nr	   )r
   r	   r	   r   r   A   s    zContentStoreNA.lockedN)	r   r   r    r$   r%   r'   r(   r   r   r	   r	   r	   r   r   3   s
   r   N)
Ú
__future__r   r   Ú
contextlibr   Úbaser   r   r   r   r	   r	   r	   r   Ú<module>   s   +