From bba5df2fbb6ca6cf7c94e81518987e309108361e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 23 Mar 2015 18:00:23 -0700 Subject: [PATCH] clarifying comment in patch.py. --- vcr/patch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcr/patch.py b/vcr/patch.py index 02b5df60..a0d6cc89 100644 --- a/vcr/patch.py +++ b/vcr/patch.py @@ -158,7 +158,8 @@ def patched_get_conn(pool, timeout=None): # 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