From 68d4ebe1eae74c66a6c12eedbd359fc00c9e6eec Mon Sep 17 00:00:00 2001 From: Daniele Tricoli Date: Mon, 4 May 2015 00:32:32 +0000 Subject: Refresh again --- debian/patches/02_use-system-chardet-and-urllib3.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 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 -- cgit v1.2.3