def _jittered_backoff(attempt, max_retry_delay):
 return min((random.random() * (2 ** attempt)), max_retry_delay)

def _jittered_backoff ( attempt , max_retry_delay ) : return min ( ( random . random ( ) * ( 2 ** attempt ) ) , max_retry_delay )
basic exponential backoff cli example:: salt myminion boto_kinesis .