Re: [matplotlib-devel] [PATCH] doc/make.py clean don't fail if directories are missing

2010-07-01 Thread Andrew Straw
On 07/01/2010 10:24 AM, Sandro Tosi wrote: > Hello, > while preparing a test debian pacakge with mpl 1.0rc1, I noticed > doc/make.py clean fails if the directories to remove are missing. > > The simple attached patch (svn diff against tr...@8480) resolves it; > Thanks, committed as r8481. -

[matplotlib-devel] [PATCH] doc/make.py clean don't fail if directories are missing

2010-07-01 Thread Sandro Tosi
Hello, while preparing a test debian pacakge with mpl 1.0rc1, I noticed doc/make.py clean fails if the directories to remove are missing. The simple attached patch (svn diff against tr...@8480) resolves it; it might also be nice to wrap the os.remove() calls below in a try: .. except OSError: pass