[paramiko] SSHClient.close should be able to be called multiple time

Robey Pointer robey at lag.net
Fri Nov 9 22:52:16 PST 2007


On Nov 2, 2007, at 2:16 PM, James Bardin wrote:

> Hi Robey,
>
> Here's a simple patch if you'd like.
> I have a finally block that's trying to cleanup open sockets, but in
> some cases SSHClient.close() may be called more than once. Most close
> methods are safe to call multiple times, so I just added this in  
> client.py:

Thanks!

robey




More information about the paramiko mailing list