human
Solve the following python programming problem given the following code:
def __exit__(self, exc_type, exc_val, exc_tb) : 
    def err(failure) : 
        logger.exception ('Failed to store set_destination_retry_timings', failure.value) 
valid_err_code = False 
    if (exc_type is CodeMessageException) : 
        valid_err_code = (0 <= exc_val.code < 500) 
if ((exc_type is None) or valid_err_code) : 
        if (not self.retry_interval) : 
            return 
retry_last_ts = 0 
        self.retry_interval = 0 
else : 
        if valid_err_code.retry_interval : 
            self.retry_interval *= self.multiplier_retry_interval 
            self.retry_interval *= int (random.uniform (0.8, 1.4)) 
            if (self.retry_interval >= self.max_retry_interval) : 
                self.retry_interval = self.max_retry_interval 
else : 
            self.retry_interval = self.min_retry_interval 
retry_last_ts = int (self.clock.time_msec ()) 
self.store.set_destination_retry_timings (self.destination, retry_last_ts, self.retry_interval).addErrback (err) 

    
    

    Fix the buggy line: if valid_err_code.retry_interval :
assistant
#Here is Python program to fix the buggy line: if valid_err_code.

if self.retry_interval :