projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0b9b60
)
ConnectTimeout multiple inheritance
author
Kevin Burke
<kev@inburke.com>
Mon, 25 Aug 2014 02:56:57 +0000
(19:56 -0700)
committer
Kevin Burke
<kev@inburke.com>
Mon, 25 Aug 2014 02:56:57 +0000
(19:56 -0700)
requests/exceptions.py
patch
|
blob
|
history
diff --git
a/requests/exceptions.py
b/requests/exceptions.py
index d59637a3cc5fb38ff35613c505f60e80a7dbe996..6dbd98a931c18cb77884f91bc2303701c16891e2 100644
(file)
--- a/
requests/exceptions.py
+++ b/
requests/exceptions.py
@@
-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
"""