1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

clarifying comment in patch.py.

This commit is contained in:
Ivan Malison
2015-03-23 18:00:23 -07:00
parent 39c3b15e02
commit bba5df2fbb

View File

@@ -158,7 +158,8 @@ class CassettePatcherBuilder(object):
# patched version of the connection class. This might not
# always be the case because the pool keeps previously
# 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):
connection = get_conn(pool, timeout)
return connection