diff options
| author | Georg Brandl <georg@python.org> | 2009-07-13 18:41:20 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-07-13 18:41:20 +0200 |
| commit | 42cc5958c4509a806a88e34af2dd91be654fdd4b (patch) | |
| tree | bdeeb538abaee4cf64b00a8414bf315ef63577eb /sphinx/util | |
| parent | 1abf1f8c7fab485c8e01aec55d4cf5d5ee34ef5f (diff) | |
| download | sphinx-42cc5958c4509a806a88e34af2dd91be654fdd4b.tar.gz | |
PEP 8
Diffstat (limited to 'sphinx/util')
| -rw-r--r-- | sphinx/util/__init__.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sphinx/util/__init__.py b/sphinx/util/__init__.py index 2d59edfc..f8a14cac 100644 --- a/sphinx/util/__init__.py +++ b/sphinx/util/__init__.py @@ -396,8 +396,10 @@ def movefile(source, dest): def copyfile(source, dest): """Copy a file and its modification times, if possible.""" shutil.copyfile(source, dest) - try: shutil.copystat(source, dest) - except shutil.Error: pass + try: + shutil.copystat(source, dest) + except shutil.Error: + pass def copy_static_entry(source, target, builder, context={}): |
