3
g`                 @   s`   d dl Z d dlmZ e jr.d dlZd dlmZ dddddZdee jdgdf d	d
dZ	dS )    N)_utils)RetryCallStater   )retry_statereturnc             C   s   dS )z'Before call strategy that does nothing.N )r   r   r   Y/var/www/tester-filtro-web/env/lib/python3.6/site-packages/pip/_vendor/tenacity/before.pybefore_nothing   s    r   zlogging.Logger)logger	log_levelr   c                s   ddd fdd}|S )z:Before call strategy that logs to some logger the attempt.r   N)r   r   c                s.   j  dtj| j dtj| j d d S )NzStarting call to 'z', this is the z time calling it.)logr   get_callback_namefn
to_ordinalattempt_number)r   )r
   r	   r   r   log_it"   s    zbefore_log.<locals>.log_itr   )r	   r
   r   r   )r
   r	   r   
before_log   s    r   )
typingpip._vendor.tenacityr   TYPE_CHECKINGloggingr   r   intCallabler   r   r   r   r   <module>   s   