aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/03_export-IncompleteRead.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/03_export-IncompleteRead.patch')
-rw-r--r--debian/patches/03_export-IncompleteRead.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/03_export-IncompleteRead.patch b/debian/patches/03_export-IncompleteRead.patch
new file mode 100644
index 0000000..7220a11
--- /dev/null
+++ b/debian/patches/03_export-IncompleteRead.patch
@@ -0,0 +1,18 @@
+--- a/requests/compat.py
++++ b/requests/compat.py
+@@ -92,6 +92,7 @@
+ from Cookie import Morsel
+ from StringIO import StringIO
+ from urllib3.packages.ordered_dict import OrderedDict
++ from httplib import IncompleteRead
+
+ builtin_str = str
+ bytes = str
+@@ -107,6 +108,7 @@
+ from http.cookies import Morsel
+ from io import StringIO
+ from collections import OrderedDict
++ from http.client import IncompleteRead
+
+ builtin_str = str
+ str = str