ok

Mini Shell

Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/
Upload File :
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyc

�
Bu�_c@ sJddlmZddlmZddlmZdefd��YZdS(i����(tdivision(tdatetime(t	BaseCachet
RedisCachecB sAeZd�Zd�Zdd�Zd�Zd�Zd�ZRS(cC s
||_dS(N(tconn(tselfR((s\/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyt__init__	scC s|jj|�S(N(Rtget(Rtkey((s\/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyRscC sR|s|jj||�n2|tj�}|jj|t|j��|�dS(N(RtsetRtutcnowtsetextintt
total_seconds(RRtvaluetexpires((s\/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyR	scC s|jj|�dS(N(Rtdelete(RR((s\/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyRscC s.x'|jj�D]}|jj|�qWdS(sIHelper for clearing all the keys in a database. Use with
        caution!N(RtkeysR(RR((s\/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pytclearscC sdS(s?Redis uses connection pooling, no need to close the connection.N((R((s\/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pytclosesN(	t__name__t
__module__RRtNoneR	RRR(((s\/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyRs				N(t
__future__RRtpip._vendor.cachecontrol.cacheRR(((s\/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyt<module>s

Zerion Mini Shell 1.0