void-packages/srcpkgs/python-requests/patches/02_export-incompleteread.patch
2014-10-29 23:41:02 +01:00

19 lines
584 B
Diff

diff -Nur requests/compat.py requests/compat.py
--- requests/compat.py 2014-10-29 12:03:06.340767658 +0100
+++ requests/compat.py 2014-10-29 12:30:56.150892159 +0100
@@ -92,6 +92,7 @@
from Cookie import Morsel
from StringIO import StringIO
from collections 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