ConnectTimeout multiple inheritance
authorKevin Burke <kev@inburke.com>
Mon, 25 Aug 2014 02:56:57 +0000 (19:56 -0700)
committerKevin Burke <kev@inburke.com>
Mon, 25 Aug 2014 02:56:57 +0000 (19:56 -0700)
requests/exceptions.py

index d59637a3cc5fb38ff35613c505f60e80a7dbe996..6dbd98a931c18cb77884f91bc2303701c16891e2 100644 (file)
@@ -51,8 +51,8 @@ class Timeout(RequestException):
     """
 
 
-class ConnectTimeout(Timeout):
-    """ The request timed out while trying to connect to the server.
+class ConnectTimeout(ConnectionError, Timeout):
+    """The request timed out while trying to connect to the server.
 
     Requests that produce this error are safe to retry
     """