reduce imports
authorKenneth Reitz <me@kennethreitz.com>
Mon, 17 Dec 2012 08:23:16 +0000 (03:23 -0500)
committerKenneth Reitz <me@kennethreitz.com>
Mon, 17 Dec 2012 08:23:16 +0000 (03:23 -0500)
requests/adapters.py

index ccca4be..4d0c18d 100644 (file)
@@ -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,