summaryrefslogtreecommitdiff
path: root/sphinx
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-07-13 18:41:20 +0200
committerGeorg Brandl <georg@python.org>2009-07-13 18:41:20 +0200
commit42cc5958c4509a806a88e34af2dd91be654fdd4b (patch)
treebdeeb538abaee4cf64b00a8414bf315ef63577eb /sphinx
parent1abf1f8c7fab485c8e01aec55d4cf5d5ee34ef5f (diff)
downloadsphinx-42cc5958c4509a806a88e34af2dd91be654fdd4b.tar.gz
PEP 8
Diffstat (limited to 'sphinx')
-rw-r--r--sphinx/util/__init__.py6
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={}):