From c6cb0b667fb9a01e2c72d2cf06927a6600ad5edf Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 22 Aug 2016 19:06:50 +0900 Subject: [PATCH] Fix flake8 violation --- sphinx/util/osutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)