def responsive_sleep(self, seconds, wait_reason='<STR_LIT>'):
for x in range(int(seconds)):<EOL><INDENT>if (self.config.wait_log_interval and<EOL>not x % self.config.wait_log_interval):<EOL><INDENT>self.config.logger.debug(<EOL>'<STR_LIT>' % (wait_reason, x, seconds)<EOL>)<EOL><DEDENT>self.quit_check()<EOL>time.sleep(<NUM_LIT:1.0>)<EOL><DEDENT>
Sleep for the specified number of seconds, logging every
        'wait_log_interval' seconds with progress info.