From cddad0f16e1525b6eca41b88a8df50a9e31613f5 Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Thu, 8 Oct 2015 13:41:43 -0700 Subject: 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 --- requests/compat.py | 2 ++ 1 file changed, 2 insertions(+) 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