Your IP : 3.147.49.19


Current Path : /lib/python2.7/site-packages/pip/_vendor/cachecontrol/
Upload File :
Current File : //lib/python2.7/site-packages/pip/_vendor/cachecontrol/_cmd.pyc

�
��abc@s�ddlZddlmZddlmZddlmZddlmZddl	m
Z
d�Zd�Zd	�Z
dd
�Zedkr�e�ndS(i����N(trequests(tCacheControlAdapter(t	DictCache(tlogger(tArgumentParsercCs-tjtj�tj�}tj|�dS(N(RtsetLeveltloggingtDEBUGt
StreamHandlert
addHandler(thandler((sA/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/_cmd.pyt
setup_loggingscCs]tt�dtdddd�}tj�}|jd|�|jd|�|j|_|S(Ntcache_etagst
serializert	heuristicshttp://shttps://(	RRtTruetNoneRtSessiontmountt
controllertcache_controller(tadaptertsess((sA/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/_cmd.pytget_sessions		cCs&t�}|jddd�|j�S(NturlthelpsThe URL to try and cache(Rtadd_argumentt
parse_args(tparser((sA/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/_cmd.pytget_args!s	cCsjt�}t�}|j|j�}t�|jj|j|j�|jj	|j�radGHndGHdS(NsCached!s
Not cached :((
RRtgetRRRtcache_responsetrequesttrawtcached_request(targsRtresp((sA/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/_cmd.pytmain's		t__main__(Rtpip._vendorRt pip._vendor.cachecontrol.adapterRtpip._vendor.cachecontrol.cacheRt#pip._vendor.cachecontrol.controllerRtargparseRRRRRR%t__name__(((sA/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/_cmd.pyt<module>s			

?>