projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0536136
)
Fixing the call to init_poolmanagers to correctly unpickle the adapter.
author
Randy Merrill
<Zoramite@gmail.com>
Sun, 12 May 2013 01:13:08 +0000
(18:13 -0700)
committer
Randy Merrill
<Zoramite@gmail.com>
Sun, 12 May 2013 01:13:08 +0000
(18:13 -0700)
requests/adapters.py
patch
|
blob
|
history
diff --git
a/requests/adapters.py
b/requests/adapters.py
index
7d7b822
..
97840f9
100644
(file)
--- a/
requests/adapters.py
+++ b/
requests/adapters.py
@@
-87,7
+87,8
@@
class HTTPAdapter(BaseAdapter):
for attr, value in state.items():
setattr(self, attr, value)
- self.init_poolmanager(self._pool_connections, self._pool_maxsize)
+ self.init_poolmanager(self._pool_connections, self._pool_maxsize,
+ block=self._pool_block)
def init_poolmanager(self, connections, maxsize, block=DEFAULT_POOLBLOCK):
"""Initializes a urllib3 PoolManager. This method should not be called