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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Exception raised for protocol timeout.

src/m/i/mixminion-HEAD/lib/mixminion/NetUtils.py   mixminion(Download)
import sys
import time
from mixminion.Common import LOG, TimeoutError, _ALLCHARS
import mixminion._minionlib
 
            except socket.error, e:
                if e[0] in IN_PROGRESS_ERRNOS:
                    raise TimeoutError("Connection timed out")
                else:
                    raise
                raise
            if not wfds:
                raise TimeoutError("Connection timed out")
##             try:
##                 sock.connect(dest)

src/m/i/mixminion-HEAD/lib/mixminion/MMTPClient.py   mixminion(Download)
import mixminion.TLSConnection
from mixminion.Crypto import sha1, getCommonPRNG
from mixminion.Common import MixProtocolError, MixProtocolReject, \
     MixProtocolBadAuth, LOG, MixError, formatBase64, stringContains, \
     TimeoutError