def wait_for_reset(self):
        """Requires header information to be current."""
        t = (self.rate_limit_reset - self.twitter_date).seconds + 1 # to grow on
        logging.info('Waiting %d seconds for Twitter rate limit reset.' % t)
        time.sleep(t)
dataset/ETHPy150Open Impactstory/total-impact-core/totalimpact/providers/twitter_paging.py/TwitterPager.wait_for_reset/original