def __init__(self, host, cert, reason): self.host = host self.cert = cert self.reason = reason.rstrip() message = ('Host %s returned an invalid certificate (%s) %s' % (self.host, self.reason, self.cert)).rstrip() HTTPException.__init__(self, message)
def __init__(self, *args, **kwargs): HTTPException.__init__(self, *args, **kwargs) Loggable.__init__(self, self.__class__, args[0])
def __init__(self): HTTPException.__init__(self, 408, "Timeout") self.strerror = "Timeout"
def __init__(self, host, limit): HTTPException.__init__(self) self.host = host self.limit = limit
def __init__(self, host, cert, reason): HTTPException.__init__(self) self.host = host self.cert = cert self.reason = reason.rstrip()