problems with bzr 0.10 and paramiko sftp transfer

Lukáš Lalinský lalinsky at gmail.com
Tue Aug 29 12:32:54 BST 2006


Lukáš Lalinský wrote:
> Hi,
> 
> When I tried to run "bzr push" with bzr 0.10 and paramiko 1.6, I get:
> 
[...]
> AttributeError: HostKeys instance has no attribute '__setitem__'
> 
> I upgraded to 1.6.2, where this method was added (with a comment "don't use this
> please."), but appears to be broken:
> 
[...]
> AttributeError: HostKeys instance has no attribute '_keys'
> 
> So my question is, is there a known version of paramiko that works with bzr 0.10?

Ok, so it seems like paramiko changed the API, and nobody had chance to test
adding a new host key using it :)

The second error is obviously a paramiko bug, but still it would be nice to use
the new API instead of accessing the dict-like object. There is a simple patch
in the attachment to fix this.

-Lukáš

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-paramiko-16.diff
Type: text/x-patch
Size: 1250 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060829/e6110136/attachment.bin 


More information about the bazaar mailing list