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

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

src/a/s/astral-HEAD/astral/node/bootstrap.py   astral(Download)
 
        if not self.node().supernode:
            if not Node.supernodes():
                self.node().supernode = True
                log.info("Registering %s as a supernode, none others found",
                    self.node())
            self.register_with_origin()
            for supernode in Node.supernodes():
                if supernode != Node.me():
                    try:

src/a/s/astral-HEAD/astral/api/handlers/tickets.py   astral(Download)
    def _request_stream_from_supernodes(cls, stream, destination,
            unconfirmed_tickets=None):
        tickets = []
        for supernode in Node.supernodes():
            if supernode != Node.me() and not cls._already_ticketed(