summaryrefslogtreecommitdiff
path: root/sphinx/util/osutil.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-08-22 19:06:50 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-08-22 19:06:50 +0900
commitc6cb0b667fb9a01e2c72d2cf06927a6600ad5edf (patch)
treebefdbc1ec22dceb706f8cad6f584175959293ca9 /sphinx/util/osutil.py
parentc4c4ce53c8c0b038d703ecf60bf81562599c2ab7 (diff)
downloadsphinx-git-c6cb0b667fb9a01e2c72d2cf06927a6600ad5edf.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 cd9aba7e6..a78eeb98c 100644
--- a/sphinx/util/osutil.py
+++ b/sphinx/util/osutil.py
@@ -288,7 +288,7 @@ class FileAvoidWrite(object):
# Proxy to _io instance.
if not self._io:
raise Exception('Must write to FileAvoidWrite before other '
- 'methods can be used')
+ 'methods can be used')
return getattr(self._io, name)