Gadfly-1.0rc1 Errors

Richard Jones rjones at ekit-inc.com
Sat May 18 21:56:40 EDT 2002


On Sun, 19 May 2002 11:24, Andrew Dalke wrote:
> David LeBlanc:
> >This is not failing because a file is open imo; it's failing because
> > you're trying to remove an non-empty directory. Windows won't do that
> > directly. It would be nice if shutils.rmtree took an '-f' flag analgous
> > to the force
>
> flag
>
> >of rm on Unix and did the right thing on windows, which is delete all the
> >files in the selected dir(s) and then deleted the directory(s).
>
> Doesn't shutil.rmtree do exactly that?

Yep. I've modified the CVS so the test closes the db before removing the dir. 
Hopefully this will fix the failures - but I can't test it.


    Richard






More information about the Python-list mailing list