Did I find the right examples for you? yes no

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

src/d/j/django-redissentry-0.2.0/redissentry/filters.py   django-redissentry(Download)
 
from redissentrycore.filters  import Filter
from redissentrycore.utils import humanize, fallback
 
from .models import WhitelistRecord
            self.rs().store_history_record('ip:username', self.ip, self.username, n)
            log_msg += ', blocked for %d min' % (t/60)
            res = t, self.error_message % humanize(t)
        else:
            res = 0, ''