[merge] handle a SSHException
Stefan (metze) Metzmacher
metze at samba.org
Thu Jul 27 08:39:58 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel schrieb:
> I like the patch, but I think I've seen more of 'EOFError' than
> SSHException. It might be because I'm running paramiko 1.5.2 instead of
> 1.6.1.
>
> Actually, in my testing with 1.5.2 I get EOFError, and with paramiko
> 1.6.1-dev (revno 371) I get the exception:
>
> File "build/bdist.linux-i686/egg/paramiko/sftp_client.py", line 86, in
> __init__
> NameError: global name 'SSHException' is not defined
I've send that to the paramiko mailing list, but it didn't get through...
I've attached it to this mail to
> So I'd like to modify the patch to check for at least EOFError and
> SSHException. I don't think we want to catch NameError.
ok, a new patch is attached.
metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFEyG3Nm70gjA5TCD8RAqOsAJ4hacgYecuwz9ooonvjYNRZUEVCcgCdGtyD
zyuiqD1wH8rFE3W9tGfHq2Q=
=DwsO
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SSHException-bzr-03.bundle
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060727/4305e804/attachment.diff
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SSHException-paramiko-01.bundle
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060727/4305e804/attachment-0001.diff
More information about the bazaar
mailing list