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)
                        local_ip_addr = str(ip_pool.next())
 
                        if not cache_db.set_exists(set_cache_key,
                                local_ip_addr) and not cache_db.set_exists(
                                set_cache_key, remote_ip_addr):
    def get_server(cls, id, type=None):
        from node_server import NodeServer
 
        if not type:
            if cache_db.set_exists('servers', id + '_' + NODE_SERVER):

src/p/r/pritunl-HEAD/pritunl/server.py   pritunl(Download)
                        local_ip_addr = str(ip_pool.next())
 
                        if not cache_db.set_exists(set_cache_key,
                                local_ip_addr) and not cache_db.set_exists(
                                set_cache_key, remote_ip_addr):
    def get_server(cls, id, type=None):
        from node_server import NodeServer
 
        if not type:
            if cache_db.set_exists('servers', id + '_' + NODE_SERVER):