SFTP error

John A Meinel john at arbash-meinel.com
Wed Dec 7 15:47:10 GMT 2005


Erik Bågfors wrote:
>>Do you know what version of paramiko you have? Can you do:
>>python
>> >>> import paramiko
>> >>> from paramiko.sftp_client import SFTPClient
>> >>> dir(SFTPClient)
>>
>>On my machine this has a 'file' attribute.
>>
> 
> 
> You're right, updating to a new paramiko solves the problem. The
> version I have used to work but I guess something has been updated
> since then.

Maybe it used to call:
SFTPClient.open()

And now uses .file() which is just an alias for the other one.

John
=:->

> 
> Thanks,
> Erik
> 





More information about the bazaar mailing list