Ejemplo n.º 1
0
def look_for_verdicts():
    from r2.models import Trial, Jury

    print "checking all trials for verdicts..."
    for defendant in Trial.all_defendants():
        print "Looking at populr.de/comments/%s/x" % defendant._id36
        v = Trial(defendant).check_verdict()
        print "Verdict: %r" % v

    Jury.delete_old(verbose=True, limit=1000)
Ejemplo n.º 2
0
def look_for_verdicts():
    from r2.models import Trial, Jury

    print "checking all trials for verdicts..."
    for defendant in Trial.all_defendants():
        print "Looking at reddit.com/comments/%s/x" % defendant._id36
        v = Trial(defendant).check_verdict()
        print "Verdict: %r" % v

    Jury.delete_old(verbose=True, limit=1000)