Message74551
| Author | tcdelaney |
|---|---|
| Recipients | georg.brandl, tcdelaney |
| Date | 2008-10-08.22:28:26 |
| SpamBayes Score | 1.811777e-05 |
| Marked as misclassified | No |
| Message-id | <1223504918.57.0.382949560871.issue4081@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
If there is a directory to be copied to _static, Sphinx first attempts
to delete any directory by the same name in the _static directory. See
attached sphinx_static_exc.txt for the exception.
The simplest fix is to change the call (line 595, Sphinx 0.4.2) to::
shutil.rmtree(targetname)
to::
shutil.rmtree(targetname, ignore_errors=True)
It would also be preferable if instead of blindly doing rmtree/copytree,
only updated files be copied to _static. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-10-08 22:28:40 | tcdelaney | set | recipients: + tcdelaney, georg.brandl |
| 2008-10-08 22:28:38 | tcdelaney | set | messageid: <1223504918.57.0.382949560871.issue4081@psf.upfronthosting.co.za> |
| 2008-10-08 22:28:35 | tcdelaney | link | issue4081 messages |
| 2008-10-08 22:28:34 | tcdelaney | create | |