From: Kenneth Reitz Date: Mon, 17 Dec 2012 08:23:16 +0000 (-0500) Subject: reduce imports X-Git-Tag: v1.0.0~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8cf6a3593d08e62c635010d66ca9794f3be539ea;p=services%2Fpython-requests.git reduce imports --- diff --git a/requests/adapters.py b/requests/adapters.py index ccca4be..4d0c18d 100644 --- a/requests/adapters.py +++ b/requests/adapters.py @@ -14,12 +14,11 @@ from .utils import DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers import socket from .structures import CaseInsensitiveDict -from .packages.urllib3.exceptions import MaxRetryError, LocationParseError +from .packages.urllib3.exceptions import MaxRetryError from .packages.urllib3.exceptions import TimeoutError from .packages.urllib3.exceptions import SSLError as _SSLError from .packages.urllib3.exceptions import HTTPError as _HTTPError -from .packages.urllib3 import connectionpool, poolmanager -from .packages.urllib3.filepost import encode_multipart_formdata +from .packages.urllib3 import poolmanager from .cookies import extract_cookies_to_jar from .exceptions import ( ConnectionError, HTTPError, RequestException, Timeout, TooManyRedirects,