Skip to content

Commit

Permalink
clarifying comment in patch.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
colonelpanic8 committed Mar 24, 2015
1 parent 39c3b15 commit bba5df2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vcr/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bba5df2

Please sign in to comment.