ok
Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/ |
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyc |
� Bu�_c @ sJ d d l m Z d d l m Z d d l m Z d e f d � � YZ d S( i����( t division( t datetime( t BaseCachet RedisCachec B sA e Z d � Z d � Z d d � Z d � Z d � Z d � Z RS( c C s | | _ d S( N( t conn( t selfR ( ( s\ /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyt __init__ s c C s | j j | � S( N( R t get( R t key( ( s\ /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyR s c C sR | s | j j | | � n2 | t j � } | j j | t | j � � | � d S( N( R t setR t utcnowt setext intt total_seconds( R R t valuet expires( ( s\ /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyR s c C s | j j | � d S( N( R t delete( R R ( ( s\ /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.pyR s c C s. x'