Viewing File: /opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyc

ó
“tÆ_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/python35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyt__init__	scC s|jj|ƒS(N(Rtget(Rtkey((s\/opt/alt/python35/lib/python3.5/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/python35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyR	scC s|jj|ƒdS(N(Rtdelete(RR((s\/opt/alt/python35/lib/python3.5/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/python35/lib/python3.5/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/python35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pytclosesN(	t__name__t
__module__RRtNoneR	RRR(((s\/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyRs				N(t
__future__RRtpip._vendor.cachecontrol.cacheRR(((s\/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyt<module>s
Back to Directory File Manager