Did I find the right examples for you? yes no

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

src/d/j/django-redissentry-0.2.0/redissentry/filters.py   django-redissentry(Download)
                    r.delete()      # ugly, but django doesn't support deleting a slice directly;
                                    # should not impose an overhead, since at most one item is deleted
            self.log('user whitelisted')
        except:
            self.logger.error(format_exc())
            res = 0, ''
        r.expire(self.counter, self.get_counter_ttl(n) * 60 + t)
        self.log(log_msg + '; ttl = ' + str(td(minutes=self.get_counter_ttl(n))))
        return res