mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Catch OSError in copyfile(); os.utime() raises that.
This commit is contained in:
parent
abbf78915e
commit
dd500ce6fb
2
CHANGES
2
CHANGES
@ -3,6 +3,8 @@ Release 0.6.4 (in development)
|
||||
|
||||
* Fix the handling of non-data, but non-method descriptors in autodoc.
|
||||
|
||||
* When copying file times, ignore OSErrors raised by ``os.utime()``.
|
||||
|
||||
|
||||
Release 0.6.3 (Sep 03, 2009)
|
||||
============================
|
||||
|
@ -414,7 +414,7 @@ def copyfile(source, dest):
|
||||
try:
|
||||
# don't do full copystat because the source may be read-only
|
||||
copytimes(source, dest)
|
||||
except shutil.Error:
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user