Beispiel #1
0
def write_nodes_proxies_from_db():
    import models.node as nm
    import models.proxy as pr
    write_nodes(nm.list_all_nodes(), pr.list_all())
Beispiel #2
0
def write_nodes_proxies_from_db():
    import models.node as nm
    import models.proxy as pr
    write_poll([{'host': n.host, 'port': n.port} for n in nm.list_all_nodes()],
               [{'host': p.host, 'port': p.port} for p in pr.list_all()])
Beispiel #3
0
def write_nodes_proxies_from_db():
    import models.node as nm
    import models.proxy as pr
    write_nodes(nm.list_all_nodes(), pr.list_all())
Beispiel #4
0
def write_nodes_proxies_from_db():
    write_nodes(nm.list_all_nodes(), pr.list_all())