Gadfly-1.0rc1 Errors

Andy Todd andy47 at halfcooked.com
Sun May 19 20:06:58 EDT 2002


Richard Jones <rjones at ekit-inc.com> wrote in 
news:mailman.1021773512.16949.python-list at python.org:

> 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
> 
> 
> 

Better late than never, I've just tested the fixes and all is now working.

>From the latest CVS code;

"""
E:\Work\gadfly>python run_tests
not running kjbuckets C module test
..................................................................
----------------------------------------------------------------------
Ran 66 tests in 54.369s

OK
"""

Regards,
Andy
-- 
Contents free posts a speciality



More information about the Python-list mailing list