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:
4cf4362
)
raise_for_status +URLError
author
Kenneth Reitz
<me@kennethreitz.com>
Thu, 23 Jun 2011 10:22:46 +0000
(06:22 -0400)
committer
Kenneth Reitz
<me@kennethreitz.com>
Thu, 23 Jun 2011 10:22:46 +0000
(06:22 -0400)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index 099f1c66c1be25f56060ec35565184ed9d4698ad..f9a2f5abe9c1beddbe0e6a41df4ccfc3d9ffc124 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-366,7
+366,7
@@
class Response(object):
def raise_for_status(self):
- """Raises stored :class:`HTTPError`, if one occured."""
+ """Raises stored :class:`HTTPError`
or :class:`URLError`
, if one occured."""
if self.error:
raise self.error