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

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

src/p/r/pritunl-0.10.9/pritunl/server.py   pritunl(Download)
    def _clear_list_cache(self):
        cache_db.set_remove('servers', '%s_%s' % (self.id, self.type))
        cache_db.list_remove('servers_sorted', '%s_%s' % (self.id, self.type))
 
    def clear_cache(self):

src/p/r/pritunl-HEAD/pritunl/server.py   pritunl(Download)
    def _clear_list_cache(self):
        cache_db.set_remove('servers', '%s_%s' % (self.id, self.type))
        cache_db.list_remove('servers_sorted', '%s_%s' % (self.id, self.type))
 
    def clear_cache(self):

src/p/r/pritunl-0.10.9/pritunl/organization.py   pritunl(Download)
    def clear_cache(self):
        cache_db.set_remove('orgs', self.id)
        cache_db.list_remove('orgs_sorted', self.id)
        cache_db.decrement('org_count')
        cache_db.remove(self.get_cache_key('users_cached'))

src/p/r/pritunl-HEAD/pritunl/organization.py   pritunl(Download)
        self.ca_cert.clear_cache(org_data=False)
        cache_db.set_remove('orgs', self.id)
        cache_db.list_remove('orgs_sorted', self.id)
        cache_db.decrement('org_count')
        cache_db.remove(self.get_cache_key('users_cached'))

src/p/r/pritunl-HEAD/pritunl/user.py   pritunl(Download)
            if self.type != CERT_CA:
                cache_db.set_remove(self.org.get_cache_key('users'), self.id)
                cache_db.list_remove(self.org.get_cache_key('users_sorted'),
                    self.id)
        if self.type != CERT_CA:

src/p/r/pritunl-0.10.9/pritunl/user.py   pritunl(Download)
        if self.type != CERT_CA:
            cache_db.set_remove(self.org.get_cache_key('users'), self.id)
            cache_db.list_remove(self.org.get_cache_key('users_sorted'),
                self.id)
            self._remove_cache_trie_key()