def __handle_rate_limit_exception(self, rate_limit_exception):
retry_after = int(<EOL>rate_limit_exception.response.headers.get('<STR_LIT>', <NUM_LIT>))<EOL>self.log.info(<EOL>"<STR_LIT>",<EOL>retry_after<EOL>)<EOL>time.sleep(retry_after)<EOL>
Sleep for the time specified in the exception. If not specified, wait
for 60 seconds.