Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/k/n/kninfra-HEAD/utils/moderation/check.py   kninfra(Download)
def main():
    moderators = OldKnGroup.objects.get(name=settings.MODERATORS_GROUP)
    for r in ModerationRecord.objects.all():
        if r.at + settings.MOD_RENEW_INTERVAL < datetime.datetime.now():
            ml = Mailman.MailList.MailList(r.list, True)