aboutsummaryrefslogtreecommitdiff
path: root/requests
diff options
context:
space:
mode:
authorDaniele Tricoli <eriol@mornie.org>2015-10-08 13:41:43 -0700
committerSVN-Git Migration <python-modules-team@lists.alioth.debian.org>2015-10-08 13:41:43 -0700
commit063c9ec0a3d27a0ca437c0b8dba5ea17e2a032ef (patch)
tree9b3765889157c6ee106673b6c1a14821f6424f77 /requests
parent3345f5ca045c5cb0a2f55ad39244c5ad37ce385e (diff)
downloadpython-requests-063c9ec0a3d27a0ca437c0b8dba5ea17e2a032ef.tar
python-requests-063c9ec0a3d27a0ca437c0b8dba5ea17e2a032ef.tar.gz
Export IncompleteRead from requests.compat since it's
imported by python-pip. Forwarded: not-needed Bug-Debian: https://bugs.debian.org/766419 Last-Update: 2014-10-23 Patch-Name: 03_export-IncompleteRead.patch
Diffstat (limited to 'requests')
-rw-r--r--requests/compat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/requests/compat.py b/requests/compat.py
index 70edff7..a338846 100644
--- a/requests/compat.py
+++ b/requests/compat.py
@@ -40,6 +40,7 @@ if is_py2:
from Cookie import Morsel
from StringIO import StringIO
from .packages.urllib3.packages.ordered_dict import OrderedDict
+ from httplib import IncompleteRead
builtin_str = str
bytes = str
@@ -54,6 +55,7 @@ elif is_py3:
from http.cookies import Morsel
from io import StringIO
from collections import OrderedDict
+ from http.client import IncompleteRead
builtin_str = str
str = str