[RFC] bzr+ssh without paramiko
John Arbash Meinel
john at arbash-meinel.com
Tue Oct 31 20:34:05 GMT 2006
Theoretically, we don't need paramiko if we have an ssh process that we
can spawn.
The attached patch changes bzrlib/transport/ssh.py so that if paramiko
isn't present, it still tries to run.
In simple testing bzr+ssh:// does work.
I marked this as RFC, because I'm not sure if this is too hackish of a
fix. Also, I'm not sure how to test this, because it is very environment
dependent. (You need to not have paramiko installed or it would get
imported).
Also, things may not fail as nicely as they could when paramiko isn't
installed. sftp.py still gives the same exception, though. So it
shouldn't effect those things.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr_ssh_no_paramiko.patch
Type: text/x-patch
Size: 1364 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061031/3dcd4acc/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061031/3dcd4acc/attachment.pgp
More information about the bazaar
mailing list