[PATCH] Fix for osutils.rmtree failure on Windows with Python 2.5

John Arbash Meinel john at arbash-meinel.com
Fri Nov 10 23:37:59 GMT 2006


Henri Wiechers wrote:
> The behavior of shutil.rmtree was changed slighlty in Python 2.5. On
> Windows, it will sometimes raise a WindowsError where previously it
> would raise an OSError. This was
> causing test_osutils.TestOSUtils.test_rmtree to fail.
> 
> Here is a patch that should fix that.
> 
> Thanks,
> Henri

It seems there were 2 +1's for the patch in Bundle Buggy, but no
comments on the mailing list.
http://bundlebuggy.aaronbentley.com/request/%3Ca5f499c70611021329k2fba1438h4ad07d5b0d44e16e@mail.gmail.com%3E

So I'll go ahead and queue this up for merge.

Also, Aaron, I thought you were going to have BB send emails to the
mailing list. What happened to that? It feels weird to merge things that
have been approved, but haven't had any actual discussion. (Though I'm
sure I'll get used to it :)

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061110/3ccda1b3/attachment.pgp 


More information about the bazaar mailing list