Verified that this patch fixes issue:
--- /usr/share/pyshared/requests/adapters.py.dist       2013-06-12 
22:17:59.472271230 -0400
+++ /usr/share/pyshared/requests/adapters.py    2013-06-12 22:18:38.720699670 
-0400
@@ -11,7 +11,7 @@
 import socket
 
 from .models import Response
-from urllib3.poolmanager import PoolManager, proxy_from_url
+from urllib3.poolmanager import PoolManager, proxy_from_url, ProxyManager
 from urllib3.response import HTTPResponse
 from .compat import urlparse, basestring, urldefrag, unquote
 from .utils import (DEFAULT_CA_BUNDLE_PATH, get_encoding_from_headers,

This was upstream fixed at 
https://github.com/kennethreitz/requests/commit/5152c98223d46c76cb7e88cb833b0087daf83d54
reported at https://github.com/kennethreitz/requests/issues/1017 .


Ie, it seems as simple as adding the import.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1187429

Title:
  adapters.py uses undefined name ProxyManager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1187429/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to