Adding the _pool_bloc to the list of attrs.

This commit is contained in:
Randy Merrill
2013-05-11 18:30:31 -07:00
parent 9cb3d6444d
commit c03e14242b
+2 -1
View File
@@ -63,7 +63,8 @@ class HTTPAdapter(BaseAdapter):
>>> a = requests.adapters.HTTPAdapter()
>>> s.mount('http://', a)
"""
__attrs__ = ['max_retries', 'config', '_pool_connections', '_pool_maxsize']
__attrs__ = ['max_retries', 'config', '_pool_connections', '_pool_maxsize',
'_pool_block']
def __init__(self, pool_connections=DEFAULT_POOLSIZE,
pool_maxsize=DEFAULT_POOLSIZE, max_retries=DEFAULT_RETRIES,