� ��^it� �|�ddlZddlmZejr ddlZddlmZdd�Z dd d d ed edej dgdffd �Z dS)�N)�_utils)�RetryCallState� retry_stater�returnc��dS)z'Before call strategy that does nothing.N�)rs ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.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.rrrNc �|��|jjrK|j���}d|jj�d|��}}�r|j���}n d}nd|j���}}d}���dtj|j ���d|j j �d|�d|�d � |� ��dS) 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_inforr r s ���r �log_itz before_sleep_log..log_it&s��� � � %� #��$�.�.�0�0�B�"�r�|�'<�$D�$D��$D�$D�%�D�� '�!,�!4�!>�!>�!@�!@���!&���$�k�&9�&@�&@�&B�&B�%�D�"�N�� � � � P��0���@�@� P� P��)�/� P� P�@D� P� P�GL� P� P� P�#� � � � � � r �rrrNr)r r rr$s``` r �before_sleep_logr&s4����� � � � � � � � �( �Mr r%)F) �typing�pip._vendor.tenacityr� TYPE_CHECKING�loggingrr �int�bool�Callabler&rr r �r.s���"� � � �'�'�'�'�'�'� ��4��N�N�N�3�3�3�3�3�3�2�2�2�2���� ������ �_�&�'��-�.� �����r