summaryrefslogtreecommitdiff
path: root/sphinx/io.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2017-04-23 16:29:38 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2017-04-23 16:29:38 +0900
commit72f267c6ae27144b46a23725b6634cc35f03fb50 (patch)
treeb1ca181eabbfaab8800ac45c9ebfdad8662acf0b /sphinx/io.py
parenta87a93ac7164c43c7e805bc5df45c4ff673625d2 (diff)
downloadsphinx-git-72f267c6ae27144b46a23725b6634cc35f03fb50.tar.gz
Rename SphinxFactory class to SphinxComponentRegistry
Diffstat (limited to 'sphinx/io.py')
-rw-r--r--sphinx/io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/io.py b/sphinx/io.py
index c9c9d085a..7cb54efff 100644
--- a/sphinx/io.py
+++ b/sphinx/io.py
@@ -158,7 +158,7 @@ class SphinxFileInput(FileInput):
# type: () -> unicode
def get_parser_type(source_path):
# type: (unicode) -> Tuple[unicode]
- for suffix, parser_class in iteritems(self.app.factory.get_source_parsers()):
+ for suffix, parser_class in iteritems(self.app.registry.get_source_parsers()):
if source_path.endswith(suffix):
if isinstance(parser_class, string_types):
parser_class = import_object(parser_class, 'source parser') # type: ignore # NOQA