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

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

src/p/r/pritunl-0.10.9/pritunl/app_server.py   pritunl(Download)
                # License key invalid
                if response.status_code == 470:
                    persist_db.remove('license')
                    self.subscription_update()
                    return

src/p/r/pritunl-HEAD/pritunl/app_server.py   pritunl(Download)
                # License key invalid
                if response.status_code == 470:
                    persist_db.remove('license')
                    self.subscription_update()
                    return

src/p/r/pritunl-0.10.9/pritunl/server.py   pritunl(Download)
        cache_db.remove(self.get_cache_key('ip_pool_cached'))
        for period in ('1m', '5m', '30m', '2h', '1d'):
            persist_db.remove(self.get_cache_key('bandwidth-%s' % period))
        Config.clear_cache(self)
 

src/p/r/pritunl-HEAD/pritunl/server.py   pritunl(Download)
        cache_db.remove(self.get_cache_key('ip_pool_cached'))
        for period in ('1m', '5m', '30m', '2h', '1d'):
            persist_db.remove(self.get_cache_key('bandwidth-%s' % period))
        Config.clear_cache(self)