summaryrefslogtreecommitdiff
path: root/sphinx/util/osutil.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-28 21:04:11 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-10-28 21:04:11 +0900
commit44edaa1bb6771d3d2a3b7baf7c7fae726e38383f (patch)
treed0f81dd534fdf359617772d2977691390e3f7a7b /sphinx/util/osutil.py
parent331003b0515f7e2dec0bfb1eebe44632abfaa673 (diff)
downloadsphinx-git-44edaa1bb6771d3d2a3b7baf7c7fae726e38383f.tar.gz
Fix flake8 violation
Diffstat (limited to 'sphinx/util/osutil.py')
-rw-r--r--sphinx/util/osutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/osutil.py b/sphinx/util/osutil.py
index bbcf53525..fb9a2cfa1 100644
--- a/sphinx/util/osutil.py
+++ b/sphinx/util/osutil.py
@@ -88,7 +88,7 @@ def ensuredir(path):
"""Ensure that a path exists."""
try:
os.makedirs(path)
- except OSError as err:
+ except OSError:
# If the path is already an existing directory (not a file!),
# that is OK.
if not os.path.isdir(path):