diff options
author | Daniele Tricoli <eriol@mornie.org> | 2015-05-04 00:32:32 +0000 |
---|---|---|
committer | Daniele Tricoli <eriol@mornie.org> | 2015-05-04 00:32:32 +0000 |
commit | 68d4ebe1eae74c66a6c12eedbd359fc00c9e6eec (patch) | |
tree | 2eb4c922457ad08a4a345b0b636f197706ea1c57 /debian/patches | |
parent | a392a75387f3d7b541429977430a127d64cba0aa (diff) | |
download | python-requests-68d4ebe1eae74c66a6c12eedbd359fc00c9e6eec.tar python-requests-68d4ebe1eae74c66a6c12eedbd359fc00c9e6eec.tar.gz |
Refresh again
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/02_use-system-chardet-and-urllib3.patch | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/debian/patches/02_use-system-chardet-and-urllib3.patch b/debian/patches/02_use-system-chardet-and-urllib3.patch index 69f06cc..956ffb8 100644 --- a/debian/patches/02_use-system-chardet-and-urllib3.patch +++ b/debian/patches/02_use-system-chardet-and-urllib3.patch @@ -3,7 +3,7 @@ Description: Use the system python-chardet and python-urllib3 instead of the used to supply a stub for ``requests.packages.urllib3``. Author: Daniele Tricoli <eriol@mornie.org> Forwarded: not-needed -Last-Update: 2015-05-03 +Last-Update: 2015-05-04 --- a/requests/adapters.py +++ b/requests/adapters.py @@ -116,3 +116,14 @@ Last-Update: 2015-05-03 class RequestException(IOError): +--- a/requests/sessions.py ++++ b/requests/sessions.py +@@ -21,7 +21,7 @@ + from .utils import to_key_val_list, default_headers, to_native_string + from .exceptions import ( + TooManyRedirects, InvalidSchema, ChunkedEncodingError, ContentDecodingError) +-from .packages.urllib3._collections import RecentlyUsedContainer ++from urllib3._collections import RecentlyUsedContainer + from .structures import CaseInsensitiveDict + + from .adapters import HTTPAdapter |