Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
proc
/
self
/
root
/
opt
/
alt
/
python311
/
lib
/
python3.11
/
site-packages
/
pip
/
_vendor
/
tenacity
/
__pycache__
[ HOME ]
Exec
Submit
File Name : before_sleep.cpython-311.pyc
� �Ret � �| � d dl Z d dlmZ e j r d dlZd dlmZ dd�Z dd d dedede j dgdf fd �Z dS )� N)�_utils)�RetryCallState�retry_stater �returnc � � dS )z'Before call strategy that does nothing.N� )r s ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/tenacity/before_sleep.py�before_sleep_nothingr s � � � � F�loggerzlogging.Logger� log_level�exc_infoc � � ��� d��� fd�}|S )z:Before call strategy that logs to some logger the attempt.r r r Nc �| �� | j j rK| j � � � }d|j j � d|� �}}�r| j � � � }n d}nd| j � � � }}d}�� �dt j | j � � � d| j j � d|� d|� d � |� � � d S )N�raisedz: F�returnedz Retrying z in z seconds as it � �.)r )�outcome�failed� exception� __class__�__name__�result�logr �get_callback_name�fn�next_action�sleep)r �ex�verb�value�local_exc_infor r r s ���r �log_itz before_sleep_log.<locals>.log_it&