summaryrefslogtreecommitdiff
path: root/sphinx/ext/autosummary/generate.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-18 23:32:52 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-18 23:32:52 +0900
commit3905cb8b7cb92815a6ee41a7d25ad2eaa5b8a443 (patch)
tree1364180c37c091572b2479457f0f41593fd37006 /sphinx/ext/autosummary/generate.py
parentf04e161173742597c1ba6cf89a06316073eb18b9 (diff)
parent518c2f2e0ec27e413ef6eb57d372428cccdce173 (diff)
downloadsphinx-git-3905cb8b7cb92815a6ee41a7d25ad2eaa5b8a443.tar.gz
Merge branch '1.8'
Diffstat (limited to 'sphinx/ext/autosummary/generate.py')
-rw-r--r--sphinx/ext/autosummary/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py
index 53fbb3371..f8274379e 100644
--- a/sphinx/ext/autosummary/generate.py
+++ b/sphinx/ext/autosummary/generate.py
@@ -403,7 +403,7 @@ The format of the autosummary directive is documented in the
def main(argv=sys.argv[1:]):
# type: (List[str]) -> None
- locale.setlocale(locale.LC_ALL, '')
+ sphinx.locale.setlocale(locale.LC_ALL, '')
sphinx.locale.init_console(os.path.join(package_dir, 'locale'), 'sphinx')
app = DummyApplication()