From: Ivan Malison Date: Tue, 24 Mar 2015 01:00:23 +0000 (-0700) Subject: clarifying comment in patch.py. X-Git-Tag: v1.3.0~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bba5df2fbb6ca6cf7c94e81518987e309108361e;p=vcrpy.git clarifying comment in patch.py. --- diff --git a/vcr/patch.py b/vcr/patch.py index 02b5df6..a0d6cc8 100644 --- a/vcr/patch.py +++ b/vcr/patch.py @@ -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