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
099f1c6
..
f9a2f5a
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