diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-18 23:32:52 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-18 23:32:52 +0900 |
commit | 3905cb8b7cb92815a6ee41a7d25ad2eaa5b8a443 (patch) | |
tree | 1364180c37c091572b2479457f0f41593fd37006 /sphinx/ext/autosummary/generate.py | |
parent | f04e161173742597c1ba6cf89a06316073eb18b9 (diff) | |
parent | 518c2f2e0ec27e413ef6eb57d372428cccdce173 (diff) | |
download | sphinx-git-3905cb8b7cb92815a6ee41a7d25ad2eaa5b8a443.tar.gz |
Merge branch '1.8'
Diffstat (limited to 'sphinx/ext/autosummary/generate.py')
-rw-r--r-- | sphinx/ext/autosummary/generate.py | 2 |
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() |