summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Benfield <lukasaoz@gmail.com>2013-08-17 07:17:03 +0100
committerCory Benfield <lukasaoz@gmail.com>2013-08-17 07:17:03 +0100
commit3bc01eed6f8a112e40ba6fdb79fafef5376c1d4c (patch)
tree041ffed6fb324a0bb5b58d8e1196a38e15fce400
parentd8268fb7b44da7b8aa225eb1ca6fbdb4f9dc2457 (diff)
downloadpython-requests-3bc01eed6f8a112e40ba6fdb79fafef5376c1d4c.tar.gz
RequestException subclasses IOError.
-rw-r--r--requests/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/requests/exceptions.py b/requests/exceptions.py
index 63f2c9ce..22207e35 100644
--- a/requests/exceptions.py
+++ b/requests/exceptions.py
@@ -9,7 +9,7 @@ This module contains the set of Requests' exceptions.
"""
-class RequestException(RuntimeError):
+class RequestException(IOError):
"""There was an ambiguous exception that occurred while handling your
request."""