branch: sftp fixes

Alexey Shamrin shamrin at gmail.com
Wed Nov 23 08:55:30 GMT 2005


On 23/11/05, Robey Pointer <robey at lag.net> wrote:
> Yeah, someone reported that this morning too.

Where? I have just searched bugs database and maillist, but couldn't
find anything...

> It's actually a separate bug.  This line:
>
> > File "c:\work\prog\bzr\bzr.dev\bzrlib\transport\sftp.py", line 77,
> > in save_host_keys
> >     os.mkdir(config_dir())
>
> should be changed to "os.makedirs", because on Windows, the
> config_dir is a long path, not just a subfolder from $HOME.

Thanks! I suspected something like that, but didn't know about the
existance of os.makedirs.

--
Alexey




More information about the bazaar mailing list