mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 01:03:24 +00:00
clarifying comment in patch.py.
This commit is contained in:
@@ -158,7 +158,8 @@ class CassettePatcherBuilder(object):
|
|||||||
# patched version of the connection class. This might not
|
# patched version of the connection class. This might not
|
||||||
# always be the case because the pool keeps previously
|
# always be the case because the pool keeps previously
|
||||||
# used connections (which might actually be of a different
|
# used connections (which might actually be of a different
|
||||||
# class) around.
|
# class) around. This while loop will terminate because
|
||||||
|
# eventually the pool will run out of connections.
|
||||||
while not isinstance(connection, connection_class):
|
while not isinstance(connection, connection_class):
|
||||||
connection = get_conn(pool, timeout)
|
connection = get_conn(pool, timeout)
|
||||||
return connection
|
return connection
|
||||||
|
|||||||
Reference in New Issue
Block a user