VULN_CHECK_I913V6 jD ddlZddlmZejr ddlZddlmZd dZ d ddd ed edejdgdffd Z y)N)_utils)RetryCallStaterreturncy)z'Before call strategy that does nothing.N) retry_states F/usr/lib/python3.12/site-packages/pip/_vendor/tenacity/before_sleep.pybefore_sleep_nothingr sloggerzlogging.Logger log_levelexc_infocdfd }|S)z:Before call strategy that logs to some logger the attempt.c >|j td|j td|jjrW|jj }d|j j d|}}r|jj }n!d}nd|jj}}d}|jd}ntj|j}jd|d |jjd |d |d | y)Nz&log_it() called before outcome was setz*log_it() called before next_action was setraisedz: Freturnedz z Retrying z in z seconds as it  .)r) outcome RuntimeError next_actionfailed exception __class____name__resultfnrget_callback_namelogsleep) rexverbvaluelocal_exc_infofn_namerr r s r log_itz before_sleep_log..log_it&s    &GH H  " " *KL L    % %$$..0B"r||'<'<&=Rt$D%D!,!4!4!>!>!@!&$k&9&9&@&@&B%D"N >> !!G..{~~>G y)@)@)F)F(GW[V\\]^c]dde f#  r rrrNr)r r rr&s``` r before_sleep_logr(s B Mr r')F) typingpip._vendor.tenacityr TYPE_CHECKINGloggingrr intboolCallabler(rr r r0sa"' 32( ((( __&'-. (r