diff --git a/CHANGES b/CHANGES index bb6076d08..8e070c1e3 100644 --- a/CHANGES +++ b/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) ============================ diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index ec7f164fa..257143266 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -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