diff options
Diffstat (limited to 'sphinx/io.py')
-rw-r--r-- | sphinx/io.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/io.py b/sphinx/io.py index 8f048c7fc..8813cb3b6 100644 --- a/sphinx/io.py +++ b/sphinx/io.py @@ -166,8 +166,7 @@ class SphinxFileInput(FileInput): if isinstance(parser_class, string_types): parser_class = import_object(parser_class, 'source parser') # type: ignore # NOQA return parser_class.supported - else: - return ('restructuredtext',) + return ('restructuredtext',) data = FileInput.read(self) if self.app: |