(self)
A timeout was supplied during setup, and the time has run out.
A timeout was supplied during setup, and the time has run out.
A timeout was supplied during setup and the time has run out .
def _timeout_expired(self):
        """
        A timeout was supplied during setup, and the time has run out.
        """
        self._did_timeout = True
        try:
            self.transport.signalProcess('TERM')
        except error.ProcessExitedAlready:
            # XXX why don't we just always do this?
            self.transport.loseConnection()

        fail = Failure(RuntimeError("timeout while launching Tor"))
        self._maybe_notify_connected(fail)
def _timeout_expired ( self ) : self . _did_timeout = True try : self . transport . signalProcess ( 'TERM' ) except error . ProcessExitedAlready : # XXX why don't we just always do this? self . transport . loseConnection ( ) fail = Failure ( RuntimeError ( "timeout while launching Tor" ) ) self . _maybe_notify_connected ( fail )