#NEWLINE# def __init__( self , max_tries = 3 , timeout = 30 , min_delay = 0.5 , max_delay = 10 ) : #NEWLINE# #INDENT# RetryPolicy . __init__ ( self , max_tries = max_tries , timeout = timeout , min_delay = min_delay , max_delay = timeout , check_result = self . _ShouldRetry )