Thinko, I meant: > waitTill = time.time() + self.connect_timeout > while not self.safeConnect(sock,(self.host, > self.port)): > if self.shutdown(): > return > if time.time() >= waitTill: > self.howDied = "timeout" > raise Finality > yield 1
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "kamaelia" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/kamaelia?hl=en -~----------~----~----~----~------~----~------~--~---
