a Re @ sd d dl Z d dlmZ e jr.d dlZd dlmZ dddddZd d eee j dgdf d ddZ dS ) N)_utils)RetryCallStater retry_statereturnc C s dS )z&After call strategy that does nothing.N r r r /builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_vendor/tenacity/after.py after_nothing s r %0.3fzlogging.Logger)logger log_level sec_formatr c s ddd fdd}|S )zBAfter call strategy that logs to some logger the finished attempt.r Nr c s: dt| j d| j dt| j d d S )NzFinished call to 'z' after z(s), this was the z time calling it.)logr get_callback_namefnseconds_since_start to_ordinalattempt_numberr r r r r r log_it&