mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix flake8 violation
This commit is contained in:
parent
c4c4ce53c8
commit
c6cb0b667f
@ -288,7 +288,7 @@ class FileAvoidWrite(object):
|
|||||||
# Proxy to _io instance.
|
# Proxy to _io instance.
|
||||||
if not self._io:
|
if not self._io:
|
||||||
raise Exception('Must write to FileAvoidWrite before other '
|
raise Exception('Must write to FileAvoidWrite before other '
|
||||||
'methods can be used')
|
'methods can be used')
|
||||||
|
|
||||||
return getattr(self._io, name)
|
return getattr(self._io, name)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user