bug in paramiko

John A Meinel john at arbash-meinel.com
Thu Dec 1 20:00:54 GMT 2005


Paramiko expects to be able to create a socket.AF_UNIX socket, even on
windows. Specifically in the paramiko.Agent() code.

For now, I'll just patch sftp.py so that it doesn't try to connect to an
agent if sys.platform == 'win32'. But it seems that that sort of check
should happen inside paramiko, and not inside bzr.

Of course, long term it would be nice if paramiko supported Putty's
pagent, but for starters it shouldn't try and create a socket.AF_UNIX if
it doesn't exist.

I'm working around it in my win32 fixes branch.
Which so far should have all internal paths switch to "/" style. I'll
work on switching them back for display eventually, but I'm trying to
get all tests to succeed first.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051201/f88438b8/attachment.pgp 


More information about the bazaar mailing list