def shouldRollover(self, record):
        t = int(time.time())
        if t >= self.rolloverAt:
            return 1
        #print "No need to rollover: %d, %d" % (t, self.rolloverAt)
        return 0
Import errors in tag modules should be reraised with a helpful message.
dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/handlers.py/TimedRotatingFileHandler.shouldRollover--crossover with--dataset/ETHPy150Open django/django/tests/template_backends/test_django.py/DjangoTemplatesTests.test_templatetag_discovery_import_error