From 4b331dae48cea3564ba6ebcebc5c7218cbcd4ffc Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Mon, 17 Dec 2018 23:08:08 +0900 Subject: Fix #5724: quickstart: sphinx-quickstart fails when $LC_ALL is empty --- sphinx/ext/autosummary/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/ext/autosummary/generate.py') diff --git a/sphinx/ext/autosummary/generate.py b/sphinx/ext/autosummary/generate.py index cb27a664d..dbe997c01 100644 --- a/sphinx/ext/autosummary/generate.py +++ b/sphinx/ext/autosummary/generate.py @@ -408,7 +408,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() -- cgit v1.2.1