paramiko/paramiko — pull request #368 by InPermutation (2014-07-28 05:30:30+00:00)
Title: Use context manager for `threading.Lock`

It cleans up the code significantly in a couple places, and insignificantly in a lot of places.